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