ID EN
Built-in Functions

min

Python 3.11

Return the smallest item in an iterable or the smallest of two or more arguments.

Syntax

PYTHON
min(iterable, *, key=None)

See Also

iterable list.sort() ValueError