📜  Python 代码示例中的嵌套 For 循环

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

代码示例1
# outer loop
for i in range(1, 11):
    # nested loop
    # to iterate from 1 to 10
    for j in range(1, 11):
        # print multiplication
        print(i * j, end=' ')
    print()