Question: Exercise 00002x WORK AREA RESULTS CODELAB ANALYSIS: LOGICAL ERROR(S) Remarks: Checking output Your standard output is not what was expected YOUR SUBMISSION print( Enter the

 Exercise 00002x WORK AREA RESULTS CODELAB ANALYSIS: LOGICAL ERROR(S) Remarks: Checkingoutput Your standard output is not what was expected YOUR SUBMISSION print(

Exercise 00002x WORK AREA RESULTS CODELAB ANALYSIS: LOGICAL ERROR(S) Remarks: Checking output Your standard output is not what was expected YOUR SUBMISSION print( "Enter the location of where you want to sit." ) location-input( "Enter M for main floor, B for Balcony and X for Box Seats: n" numTickets int(input( "Enter the number of tickets you wish to purchase: "))# grandTotal 0.0 if location-"H":#if location is M elif location "B" :#1f location is B elif location "X":#if location is x else : #otherwise prints error message total-numTickets50 total--numTickets 30 total numTickets*75 print("You have enter the wrong seat choice! Exiting.....") discount (total*0.20) discount0 if( numTickets > 10 ):#if num of seats is more than 10 then calculates the disco. grandTotal-total - discount #prints the output print( "Ticket Cost:$", total ) print( "Discount:$", discount) print( "Total Price:$",grandTotal) OUTPUT: LOGICAL ERROR(S)

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!