1. Program to find the sum of the natural numbers from 21 to 30 (both numbers inclusive) in loop. Unnecessary answer will be report
Answers
Answered by
2
Explanation:
Answer:
#python
total = 0
for i in range(21, 30+1):
total += i
print("sum = ",total)
Similar questions