I am new to Python and working on a little project to learn python. I would like to check if an IP entered by the user is a valid IP or is a valid CIDR. My code below does not w