📅  最后修改于: 2022-03-11 14:45:50.325000             🧑  作者: Mango
import numpy as np
a = np.arange(6).reshape(2,3) + 10
print(a)
index = np.unravel_index(np.argmax(a), a.shape)
print(index)
print(a[index])