#how to sum a list 
#first is by doing sum() method 
my_list  = [2, 3, 4, 6, 7, 8, 9, 10, 4]

total = sum(my_list)

print(total)

#second is by doing loop 

total2 = 0
for total1 in my_list:
	total2 += total1
print(total2)