Question
5. There are three categories for movie tickets, with the following prices: General admission: $12.50 Senior citizen: Child under 10: $11.00 $9.00 Write a
5. There are three categories for movie tickets, with the following prices: General admission: $12.50 Senior citizen: Child under 10: $11.00 $9.00 Write a Python program that prompts the customer for the number of tickets of each type, and prints the total amount for all of the tickets purchased. A sample runs: >>> main() How many general admission tickets? O How many senior citizen tickets? O How many child tickets? 1 Your total comes to $ 9.0 >>> main() How many general admission tickets? 2 How many senior citizen tickets? 1 How many child tickets? 1 Your total comes to $ 45.0
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Here is a Python program that accomplishes the task of calculating the total amount based on the num...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Elements Of Chemical Reaction Engineering
Authors: H. Fogler
6th Edition
013548622X, 978-0135486221
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App