[Tutor] unknown syntax error

oliver patterson oliverjamespatterson at hotmail.com
Sun Dec 11 11:30:52 EST 2016


hey i dont know if this is the right place but i was just coding in idle and kept getting this syntax error and i can not see m to fix it here is my bit of code:

my_age=14
age=input("How old are you?:")
print("type start()")
def start():
    print("hey")
    if age == my_age:
        print("i'm",age,"too")
        else:
            if age < 14:
                print(" i'm older that you i'm",my_age,":)")
                else:
                    print("your older than me i'm",my_age,":(")



please help thank you.






More information about the Tutor mailing list