Unable to get all the values inside of a 2D array

前端 未结 0 1901
独厮守ぢ
独厮守ぢ 2020-11-30 04:21
grid = []
for i in range(int(rows)):
    row = []
    for n in range(int(columns)):
        row.append(int(contents[n]))
    grid.append(row)
    
print(grid)


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题