list1 =[1,2, 3,4,5,6] Sum(list1) Sum() is a built-in function to result the summation of all the elements in a single or multidimensional list/tuple.
確定! 回上一頁