age_price="Tell me your age,and I'll tell you the price of the ticket:"
age_price=input(age_price)
age_price=int(age_price)
while age_price:
if age_price < 3:
price =0
break
elif age_price < 12:
price = 10
break
else:
price= 15
break
print(f"You need to pay ${price} for ticket")