wap to print sum of first
10 numbers using loop and subroutine
Answers
Answered by
0
Answer:
# python program
def main():
total = 0
for i in range(11):
total += i
else:print(total)
main()
Similar questions