python二维数组问题

一、建立N行M列二维数组数组 N=int(input()) #N为行 M=int(input()) #M为列 a=[[0]*M for i in range(N)] for i in range(N): a[i]=input().split(' ') for j in range(M): a[i][j]=int(a[i][j]) pri
相关文章
相关标签/搜索