1 2 3 4 5 6 7 8 9
age = 5 if age < 4: price = 0 elif age < 18: price = 5 else: price = 10 print("Your cost of admission is $"+str(price)+".")
1
Your cost of admission is $5.