Page
Sum of a list W3S1P1
Sum of a list W3S1P1
# Solution to problem W3S1P1
new_list = []
for i in range(11,82):
new_list.append(i)
total = 0
for item in new_list:
total += item
print(" The total of all integer numbers between 11 and 81 is :", total)
Last modified: Wednesday, 17 May 2017, 8:42 PM