Скрипт IP -адреса Python Python

import socket
anything = socket.gethostbyname('google.com')
print(anything)
Stormy Stag