Python List Sum Syntax
Following is the syntax of the sum() method:
Where:
- iterable: the list where the elements of the iteration must be numbers
- start (optional): the initial value to add to the result. If not specified, the default is 0.
Following is the syntax of the sum() method: