min number in list python code example
Example 1: minimum in list python
c=[4, 10, 2, 57]
print(min(c))
# 2
Example 2: python find smallest value in list
stuff = [37, 7, 19, 29, 5, 13, 31, 17, 23, 11, 3, 2]
print(min(stuff))
# output = 2
c=[4, 10, 2, 57]
print(min(c))
# 2
stuff = [37, 7, 19, 29, 5, 13, 31, 17, 23, 11, 3, 2]
print(min(stuff))
# output = 2