Question: This Python3 program has a missing number at the location of the question mark. list - [6, 4, 5, 3, 9) sum - ? for
This Python3 program has a missing number at the location of the question mark. list - [6, 4, 5, 3, 9) sum - ? for x in list: if x > 4: sum - sum + 2 else: sum - sum + 3 print (sum) When the question mark is replaced with a certain value, the program prints 85 to the screen. What is that number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
