def ips (ip) : sp = ip.split('/') quads = map(lambda s: int(s), sp[0].split('.')) sl = int(sp[1]) n = 32 - sl