我的代码是在这里网站IP地址的打印机,蟒蛇不工作
ip=int(input("What website do u need the ip address from?"))
ipad=socket.gethostbyname(ip)
print("Thats websites ip is",ipad)
wait=input("Press enter to exit")
os.system('cls')
那么这将返回一个错误 ValueError: invalid literal for int() with base 10: 'www.google.com'