xxxxxxxxxx
import socket
def get_ip_address():
# Get the IP address of the computer
hostname = socket.gethostname()
ip_address = socket.gethostbyname(hostname)
return ip_address
ip_address = get_ip_address()
print("IP Address:", ip_address)