Of course I get it you use sum() with several numbers, then it sums it all up, but I was viewing the documentation on it and I found this:
sum(iterable[, start])
What is that second argument "[, start]" for? This is so embarrasing, but I cannot seem to find any examples with google and the documentation is fairly cryptic for someone who tries to learn the language.
Is it a list of some sort? I cannot get it to work. Here is an example of one of my attempts:
>>> sum(13,4,5,6,[2,4,6])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: sum expected at most 2 arguments, got 5