Answers for "minmax python"

0

minmax python

# Were you looking for min max python?
# if this is the case (works also with sets and numpy array)

>>> l = [1,2,8,4,7,9,6,3]
>>> min(l)
1
>>> max(l)
9
Posted by: Guest on June-01-2021

Python Answers by Framework

Browse Popular Code Answers by Language