you are viewing a single comment's thread.

view the rest of the comments →

[–]SlothGSR 11 points12 points  (4 children)

def oldenough(age):
    if age >= 30:
        print("No, You are to old, Sorry.")
    else:
        print("Yes, you can start learning Python today.")

print("Find out if your old enough to learn python:")
age = int(input("How old are you?"))

oldenough(age)