Thursday, 15 August 2013

pythone 3.3.2 age >= 24: TypeError: unorderable types: str() >= int()`enter code here`

pythone 3.3.2 age >= 24: TypeError: unorderable types: str() >=
int()`enter code here`

print("how old are you")
age = input(">")
if age >= 24:
print("you are getting old")
print (age)
else:
print("i don't care")
print (age)
#this is the error i am getting dam i am so noob if age >= 24: TypeError:
unorderable types: str() >= int()enter code here

No comments:

Post a Comment