Untitled
unknown
python
2 years ago
302 B
4
Indexable
Never
# 7-6. Three Exits #Exit 1 age = {} while True: age = input("Enter your age: ") if age != 'quit': age = int(age) if age<=3: print("Free ticket!") elif age < 12: print("10$ ticket") else: print("15$ ticket")