Python Function Reference

max
Return the largest item in an iterable or the largest of two or more arguments.
Python 3.13
max(iterable, *[, key, default])
iterable
An iterable object.
key
A function to specify a sorting key.
default
Default value if the iterable is empty.
Examples
Python 3.13
>>> max([10, 20, 5])
20