Question: IN PYTHON 3+ The New Star Theater has 25 seats, which are set up as 5 rows and 5 columns. Theprice for each seat is

IN PYTHON 3+

The New Star Theater has 25 seats, which are set up as 5 rows and 5 columns. Theprice for each seat is based on the row and column show below.Fill a 5 x 5 grid. Then do the following.Create a loop that will continue until the user says (Y/N) they want to quit, or all 25 seats are sold. Have the users ask for a seat position based on row and column (row, column) - remember that the lists positions start at 0, but the user will ask for the seat starting at row or column position 1. Then when the user selects the seat, print out the user's price and mark an 'SS' (sold seat) in the List where the price was. Then print out all the seats so the user can select another. When the next user in the loop, asks for a seat make sure you check and see if that seat is already sold (has an SS in the table). If it is sold, tell the user otherwise return the price and mark the seat sold. After the user asks to quit or all the seats are sold, or the loop ends, then printout the list as shown below - showing the sold seats (SS) and unsold seats (the unsold seat should still have a price).Print out the array (as a two-dimensional matrix) showing which seats were sold, and which seats have not been sold.

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!