You are viewing documentation for version v1.10.x (latest). View latest version.
sum takes a list or set of numbers and returns the sum of those numbers.
sum
sum fails when given an empty list or set.
> sum([10, 13, 6, 4.5]) 33.5
On this page: