ls=[[1,2],[3,4],[5,6]]#二维列表 for row in ls: for column in row: print(column)
【Python】二维数据格式化
原文:https://www.cnblogs.com/HGNET/p/12778385.html