Question: A museum charges different ticket prices depending on a persons age. If a person is under the age of 3, the ticket is free; if

A museum charges different ticket prices depending on a persons age. If a person is under the age of 3, the ticket is free; if they are between 3 and 12, the ticket is $10; and if they are over age 12, the ticket is $15. Write a Python program having a loop in which you ask users their age, and then tell them the cost of their ticket. Exit the loop when user enters quit instead of the age

write it in python

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!