def ip_num(ip): ipl=map(int,ip.split(".")) l="" for i in ipl: a="" while 1: y=i%2 s=i//2 if s==0: a+=str(y) break a+=str(y) i=s l+=("0&qu...