python max of 2d array code example
Example 1: max of double array python
max(map(max, numbers))
Example 2: find max value in 2d array python
a = [1, 2, 3, 4, 5]
print(max(a))
# 5
max(map(max, numbers))
a = [1, 2, 3, 4, 5]
print(max(a))
# 5