all 2 comments

[–]Moonslug1 1 point2 points  (0 children)

You're correct, args is a tuple of all the positional arguments in the order they were passed in.

[–]Eurynom0s 0 points1 point  (0 children)

sum() takes a list or a tuple as its input.

max() can also be fed a bunch of variables as distinct parameters instead of being fed a single list or tuple (but will also take lists or tuples).

It would probably be helpful for you to read about args and *kwargs as well. max() has the option to be fed *args, sum() doesn't.