Question: Debug the following Python code. 1. Explain the problem (1 point per error) 2. Write the correct, working code (1 point per error) This code

Debug the following Python code. 1. Explain the problem (1 point per error) 2. Write the correct, working code (1 point per error) This code is supposed to keep asking the user to enter a number until that number times 3 is greater than 30, then it stops asking. There is one syntax error and one logic error in the following code: finished = false while finished != True: value = int(input("Enter a number")) value = value * 3 if value > 30: print("The value is ", value)

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!