Question: ) What does program print? Give explanation and show number1 and number2 values clearly at every step. Explain how if works count = 0 NUMBER_OF_QUESTIONS
What does program print? Give explanation and show number1 and number2 values clearly at every step. Explain how if works count = 0 NUMBER_OF_QUESTIONS = 3 number1= 20 number2 = 50 while count < NUMBER_OF_QUESTIONS: if number1 > number2: print(number1) else: print(number2) number1= number1 + 5 number2 = number2 - 10 count = count+1 Use the editor to format your answer Activate W Go to Settings
Step by Step Solution
There are 3 Steps involved in it
The image displays a Python script that is written as follows python count 0 NUMBEROFQUESTIONS 3 num... View full answer
Get step-by-step solutions from verified subject matter experts
