(data)
return addr_list
Parses the input data to return only the IP address information
Parses the input data to return only the IP address information
Parses the input data to return only the IP address information
def list_ip_addresses(data):
    """Parses the input data to return only the IP address information"""
    ip_list = [item[0] for item in data]
    sorted_set = sorted(set(ip_list))
    addr_list = [ip for ip in sorted_set]
    return addr_list
def list_ip_addresses ( data ) : ip_list = [ item [ 0 ] for item in data ] sorted_set = sorted ( set ( ip_list ) ) addr_list = [ ip for ip in sorted_set ] return addr_list