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