Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Neo4j Data Modeling

Authors: Steve Hoberman ,David Fauth

1st Edition

1634621913, 978-1634621915

More Books

Students also viewed these Databases questions

Question

1. Identify and control your anxieties

Answered: 1 week ago