When I run this code, it is not asking the user for an input but just showing a black screen for less than a second. I don't get errors as well. What could be the problem?
#Check an IP address validity
while True:
ip_address = raw_input("Enter an IP address: ")
a = ip_address.split(".")
if ((len(a) == 4) and (a[0] =< 223) and (a[0] != 127) and (a[0] != 169
or a[1] != 224) and (0 =< a[0] =< 255 and 0 =< a[1] =< 255 and 0 =< a[2] =<
255 and 0 =< a[3] =< 255)):
break
else:
print("The IP address is not valid")