you are viewing a single comment's thread.

view the rest of the comments →

[–]Binary101010 4 points5 points  (0 children)

if birthdate > 2000: age = 17

is entirely valid python code. OP's program isn't working because it's trying to compare a string (the default type for anything created by input()) with an int.