how to get the min value from a list in python code example
Example 1: min in a list python
li=[0,70,7,89]
min(li)
#gives the min value 0
Example 2: minimum in list python
c=[4, 10, 2, 57]
print(min(c))
# 2
li=[0,70,7,89]
min(li)
#gives the min value 0
c=[4, 10, 2, 57]
print(min(c))
# 2