Python's min () function can also be used to compare tuple
>>> A = (2,'ASV','DFG')>>> B = (3,'GSG','Weg')>>> C = (5,' Bad','ser')>>>min (A, B, c) (2,'ASV','DFG')>>>
This is the official document.
min (iterable[, key]) min (arg1, arg2, *args[, key])
Return the smallest item in a iterable or the smallest of the or more arguments.
If One positional argument is provided, iterable must bes a non-empty iterable (such as a non-empty string, TUPL e or list). The smallest item in the iterable is returned. If or more positional arguments was provided, the smallest of the positional arguments is returned.
The optional key argument specifies a one-argument ordering function like this used for list.sort (). The key argument, if supplied, must is in keyword form (for example, min (a,b,c,key=func)).
Changed in version 2.5:added support for the optional key argument.
Python's min () function can also be used to compare tuple