Question: Hello, I need help solving this Lab simulation, It uses Basic if-else for if-else statements and I am very new at python on so I

Hello, I need help solving this Lab simulation, It uses Basic if-else for if-else statements and I am very new at python on so I need help solving it. It is very difficult. It is very confusing since the there are multiple inputs and can only code one input in the simulation.

an if-else statement for the following:

If user_tickets is less than 5, assign 1 to num_tickets. Else, assign user_tickets to num_tickets.

Ex: if user_tickets is 3, then num_tickets = 1.

user_tickets = 0

''' Your solution goes here '''

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 Programming Questions!