You can use the python built-in sum() function to get the sum of list elements. Alternatively, you can iterate through the list and keep track of the sum.
確定! 回上一頁