Question: Python help Python:Movie Ticket Write a Python function called movie.py that has no inputs and one output of the total cost. You will need to
Python:Movie Ticket Write a Python function called "movie.py" that has no inputs and one output of the total cost. You will need to use input commands to get the number of movie tickets determine the movie ticket price based on a person's age. Set up a movie doc string with the information you had to enter in MATLAB Persons 4 years old and under are free Persons older than 4 year old but less than 12 cost $7.50 Persons 12 years old and older cost $10 Enter the number of movie goers in each age group Enter the number of persons 4 years old and younger? 3 isplay: Enter the number of persons 5 to 11 year old? 4 Enter the number of person 12 year old and older? 5 Persons Ages Cost/ticket Total Cost 4 years and younger 5 to 11 years old 12 years old and older 10.00 $0.00 $30.00 50.00 Total $80.00 Free 7.50
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
