Computer Science, asked by smasher37, 3 months ago

By using for loop, enter 10 numbers and print the sum.​

Answers

Answered by atulkumargpt
1

Answer:

# python program

a = 0

for i in range(0, 10) :

x = int(input(f"enter the {i} num. : ") )

a += x

else:

print(" the sum is :", a)

Similar questions