I wrote this python code to open sockets but I can\'t figure out how to validate the URL
inp = input(\'Enter a URL: \') ipt = inp.split(\'/\') inu = ipt[2] m