5 lines
72 B
Python
5 lines
72 B
Python
import socket
|
|
|
|
inp = input('domain: ')
|
|
print(socket.gethostbyname(inp))
|