📜  python 嵌套列表 - Python 代码示例

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

代码示例2
L = [[1, 2, 3],[4, 5, 6],[7, 8, 9]]   
for list in L:
    for number in list:
        print(number, end=' ')
# Prints 1 2 3 4 5 6 7 8 9