git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The sum of ten numbers inserted from the user


I thought something like it but doesn't work...

for n in range(1, 11):
     x = input("Insert a number: ")

for y in range(x):
     sum = y

     print ("The sum is: ",y)