Question: Use Python Write a program that computes the price of a ticket for the Monterey Bay Aquarium. ADMISSION Adult $49.95 Child $29.95 (Ages 3-12, under
Use Python
Write a program that computes the price of a ticket for the Monterey Bay Aquarium. ADMISSION Adult $49.95 Child $29.95 (Ages 3-12, under 3 free) Senior $39.95 (Ages 65+) Student $39.95 (Ages 13-17 or college ID) Your program first asks the age of the person. Then, your program should ask for a College ID only if the person falls into the adult category and store the result in a Boolean variable. At this point you can determine the ticket price and print it out using the word "FREE" when the ticket is free. Here are two transcripts of how the program should work: Enter age:1 Price: FREE Enter age:34 College ID? (y)y Price: $39.95
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
