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