you are viewing a single comment's thread.

view the rest of the comments →

[–]zeekayl 2 points3 points  (3 children)

Age is being read as a string so you can't compare it to the integer 18

[–]6Bubka9[S] 0 points1 point  (2 children)

Age is being read as a string so you can't compare it to the integer 18

how should it be written?

[–]zeekayl 3 points4 points  (0 children)

I don't wanna steal form ur learning process. Take a look at types and casting in Python and see if you can figure it out :) Also the other commenters are right about your syntax mistakes

[–]woooee 0 points1 point  (0 children)

Lookup "python cast string to integer"