What is the syntax to return the minimum value in a list?

min(<list name>)
#examples
>>> nums = [1,2,3,4,5]
>>> min(nums)
1

>>> letters=['A','B','F','Z']
>>> min(letters)
'A'
Advertisements