mylist = int(raw_input('Enter your list: ')) total = 0 for number in mylist: total += number print "The sum of the numbers is:", total
python sum
python ×1
sum ×1