I'm trying to code a program that give IPs information. When I try to get the IP by input
and run it appears SyntaxError: invalid syntax
it just let me put strings on it. Here is my code:
def _get_ip():
ip = ''
_get_ = input('What\'s the IP?: {}'.format(ip))
_get_ip()