matrix = [[0,0,0,1,0],
[0,0,0,0,0],
[0,2,0,0,0],
[0,0,0,0,0],
[0,0,0,3,0]
]
for i in matrix:
print (i)
input()
python 打印矩阵
最新推荐文章于 2024-07-18 20:45:11 发布
matrix = [[0,0,0,1,0],
[0,0,0,0,0],
[0,2,0,0,0],
[0,0,0,0,0],
[0,0,0,3,0]
]
for i in matrix:
print (i)
input()