Python List min() Method
The Python List min() method returns the smallest value of a list element.
Python List min() Syntax
min() method syntax.
min(list)
Python List min() Parameters
- list : The list to return the minimum value.
Python List min() Return Value
Returns the minimum value of the list element.
Python List min() Example#1
The following example demonstrates the use of the min() function.
#!/usr/bin/python3
list1, list2 = ['deepinout', 'apidemos', 'com'], [123, 400, 800]
print ("list1 Minimum element value : ", min(list1))
print ("list2 Minimum element value : ", min(list2))
Output: