Question: Write in Python 3.7 please time object Select all Editing gor displayed improperly. 1.-I213 . 4 51 Homework 1 Homework 1: The Yorktown theatre has
Write in Python 3.7 please

time object Select all Editing gor displayed improperly. 1.-I213 . 4 51 Homework 1 Homework 1: The Yorktown theatre has 300 hall seats and 100 mezzanine seats. A hall seat costs $10 for an adult and $7 for a child. A mezzanine seat costs $8 for an adult and $5 for a child. Write a program to REPEATEDLY prompt the user to enter the required seating (1 for hall, 2 for mezzanine), the number of adults and children in the party, and the print out a receipt and the number of remaining seats in Hall and Mezzanine. An order will be refused if there are not enough seats in the required area. The program loops until there are no more seats in either hall or mezzanine. Sample interaction: Enter 1 for Hall and 2 for Mezzanine: 1 Number of adults? 2 Number of children? 3 Great, you got 2 adult tickets for $20 and 3 child tickets for $21 so your total is $41 Remaining seats: Hall 295 Mezzanine 100 Enter 1 for Hall and 2 for Mezzanine: 2 Number of adults? 1 Number of children? 4 Great, You got 1 adult tickets for $8 and 4 child tickets for $20 so your total is $28 Remaining seats: Hall 295 Mezzanine 95
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
