convert the following python program using for loop? i=0 sum=0 while i<=10: sum=sum +i i=i+1 print (sum)
Answers
Answered by
8
Answer:
for i in range(1, 11):
print(sum)
Similar questions