My code is as follows:
prompt = '\nPlease tell us your age'
prompt += "\n(Enter 'quit' when you are finished)"
while True:
    age = input(prompt)
    if age == 'quit':
        break
    elif int(age) < 3:
        print ('Your admission is free')
    elif int(age) > 3 < 12:
        print ('Your admission charge is $10')
    else:
        print ('Your admission charge is $15')
    break
Probably a simple answer, but when age entered greater than 12, returns 'Your admission charge is $10' when 'Your admission charge is $15' is expected - Why ?



elif 3 < int(age) < 12:?