📜  循环二维数组python代码示例

📅  最后修改于: 2022-03-11 14:46:05.754000             🧑  作者: Mango

代码示例1
array = [
  [2, 4, 5, 6],
  [6, 5, 99],
  [849, 33, 7, 7]
]

for i in array:
    for j in i:
          print(j, end=", ")
        
# 2, 4, 5, 6, 6, 5, 99, 849, 33, 7, 7,