The sum of ten numbers inserted from the user

^Bart gabriele1NOSPAM at hotmail.com
Thu Feb 7 06:29:44 EST 2019


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)


More information about the Python-list mailing list