python 打印矩阵

2023-01-31 05:01:51 python 打印 矩阵
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()


相关文章