wha is the result
c = 1
sum = 0
while (c < 10):
c = c + 3
sum = sum + c
print (sum)
Answers
Answered by
0
the output would be
4
11
21
if sum is inside the loop......
and
21
if print(sum) is outside the loop
4
11
21
if sum is inside the loop......
and
21
if print(sum) is outside the loop
williambarnes:
thanks!
Answered by
0
72 if print (sum) is out of the loop
Similar questions