Question: this is a python program Students: This content is controlled by your instructor and is not zyBooks content. Direct questions or concerns about this content

 this is a python program Students: This content is controlled by
this is a python program

Students: This content is controlled by your instructor and is not zyBooks content. Direct questions or concerns about this content to your instructor if you have any technical issues with the zyLab submission system, use the Trouble with lab button at the bottom of the lab. 6.23 Lab Ch 6: "nested_loop" - Movie Tickets Write a program to pre-sell a limited number of cinema tickets Each buyer can buy as many as 4 tickets. No more than 20 tickets can be sold. Implement a program that prompts the user for the desired number of tickets and then displays the number of remaining tickets. Repeat until all tickets have been sold and then display the total number of buyers. (Required nested loop to get full credit!) When the program starts, or after a purchase display the remaining tickets as follows: There are currently xx tickets remaining. where xx is the number of remaining tickets. Afterwards, ask the user How many tickets would you like to purchase? If the user enters a number that is greater than 4 or more than the number of remaining tickets then display: forry, you can't buy that many. At the end of the program display the number of buyers The total number of buyers was xx O e A OW

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!