Finding the Max value in a two dimensional Array
Max of max numbers (map(max, numbers)
yields 1, 2, 2, 3, 4):
>>> numbers = [0, 0, 1, 0, 0, 1], [0, 1, 0, 2, 0, 0], [0, 0, 2, 0, 0, 1], [0, 1, 0, 3, 0, 0], [0, 0, 0, 0, 4, 0]>>> map(max, numbers)<map object at 0x0000018E8FA237F0>>>> list(map(max, numbers)) # max numbers from each sublist[1, 2, 2, 3, 4]>>> max(map(max, numbers)) # max of those max-numbers4