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