So I have the following function in my script:
def age():
global age
age = raw_input("Age: ")
if age == 14:
sleep(1)
print ("LOL, same")
elif age < 18:
sleep(1)
print ("This test is made for contestants older than ten")
introduction()
elif age > 18:
sleep(1)
print ("Geez grandpa, you sure are old")
When I run this, it registers every age I type as above 18 like so:
Could you tell me your age?
Age: 4
Geez grandpa, you sure are old
Why does it do this?