$ 0 0 使用する配列 import numpy as np # サンプル配列の用意 # 2行5列 a = np.arange(10).reshape(2,5) # 3行5列 b = np.arange(1…