1.

What is output?c = 1sum = 0while (c < 10):c = c + 3sum = sum + cprint (sum)

Answer»

Answer:

7

Explanation:

the loop will WORK until the sum has value 7, when the value BECOMES equal to 10 the loop will BREAKOUT because of the while condition given



Discussion

No Comment Found