Computer Science, asked by tanimapaul09, 3 months ago

wap to print sum of first
10 numbers using loop and subroutine​

Answers

Answered by myd25335
0

Answer:

# python program

def main():

total = 0

for i in range(11):

total += i

else:print(total)

main()

Similar questions