min functionm list python code example
Example 1: min() python
x = min(1, 2) #Sets the value of x to 1
Example 2: minimum in list python
c=[4, 10, 2, 57]
print(min(c))
# 2
x = min(1, 2) #Sets the value of x to 1
c=[4, 10, 2, 57]
print(min(c))
# 2