其他分享
首页 > 其他分享> > 7-14 sdut-array2-1-矩阵转置(II) (10 分)

7-14 sdut-array2-1-矩阵转置(II) (10 分)

作者:互联网

number = int(input())
numberlist =[]
for i in range(number):
    numberlist.append(list(map(int,input().split())))

for i in range(number):
    for j in range(number-1):
        print(numberlist[j][i], end=' ')
    print(numberlist[number-1][i], end='\n')

标签:10,end,14,转置,number,int,range,numberlist,print
来源: https://blog.csdn.net/weixin_44830927/article/details/117718012