使用numpy需先导入numpy模块import numpy as np1 创建二维数组array_1 = np.ones([10,10]) #创建 ... Python中的二维数组实例(list与numpy.array).
確定! 回上一頁