1# Python code to demonstrate the working of
2# sum()
3numbers = [1,2,3,4,5,1,4,5]
4
5# start parameter is not provided
6Sum = sum(numbers)
7print(Sum) # result is 25
8# start = 10
9Sum = sum(numbers, 10)
10print(Sum) # result is 10 +25 = 35
1# to sum all the numbers we use python's sum() function
2a = [4,5,89,5,33,2244,56]
3a_total = sum(a)