Very new to programming! I am working through the book Python Crash Course.
Trying to create a simple program to determine ticket pricing. Taking in user input as age but ending the program when user inputs 'done'
Looks like this:
guest_age = ("Please enter your age. ")
while True:
    age = input(guest_age)
    age = int(age)
if age == 'done':
    break
elif age < 3:
    print("Your ticket is free!")
elif age <= 12:
    print("Your ticket is $10!")
else:
    print("Your ticket is $15!")
I am stumped on how to incorporate the done input without getting the
ValueError  invalid literal for int() with base 10: 'done'
 
     
    