Advertisements
Advertisements
Question
Write the output from the following code:
n = 50
i = 5
s = 0
while i<n:
s+ = i
i+ = 10
print "i=",i
print "sum=",sCode Writing
Advertisements
Solution
i= 55
sum= 125shaalaa.com
Is there an error in this question or solution?
