Answers for "python find smallest value in 2d list"

1

python find smallest value in 2d list

>>> a = [[8,2,3,4,5,6],
... [3,6,6,7,2,6],
... [3,8,5,1,2,9],
... [6,4,2,7,8,3]]
>>> mymin = min([min(r) for r in a])
>>> mymin
Posted by: Guest on April-28-2021

Code answers related to "python find smallest value in 2d list"

Python Answers by Framework

Browse Popular Code Answers by Language