x = arange(6).reshape(2,3)
y = arange(9).reshape(3,3)
z = arange(12).reshape(3,4)
B = []
B.append(x)
B.append(y)
B.append(z)
for i in range(3):
print B[i]
python用list存取数组
最新推荐文章于 2023-07-13 10:21:51 发布
x = arange(6).reshape(2,3)
y = arange(9).reshape(3,3)
z = arange(12).reshape(3,4)
B = []
B.append(x)
B.append(y)
B.append(z)
for i in range(3):
print B[i]