A question from python:
n=50
i=5
s=0
while i
s+=i
i+=10
print ("i=", i )
print ("sum=", s )
The answer is i=55 and sum= 125.
I got it about sum but in case of i I am not getting why the vale is 55 when it is given that i
Answers
Answered by
1
Answer:
The function is not defined
Explanation:
n=50
i=5
s=i+n
print ("The sum:",s)
print (i* *2)
Hence the output will be
The sum: 55
125
Similar questions
Social Sciences,
11 days ago
Science,
11 days ago
Math,
11 days ago
Math,
22 days ago
Math,
7 months ago