List min(list) Function:

In Python Built-In List min(list) function is used to returns the elements from the given list with minimum value.

There is 1 Parameter used in List min(list) Function: list from which min value to be returned.
#min() function

list1 = ['TOM', 'JOHN']
list2 = [999, 555, 222, 777]
print ("Min Value : ", min(list1))
print ("Min Value : ", min(list2))

Comments are closed.