嵌套for循环
for循环
中的for循环
代码
代码语言:javascript复制# coding:utf-8
a = [1, 2, 3]
b = [4, 5, 6]
for i in a:
print(i)
print('------')
for j in b:
print(i j)
print('=======')
print(i, j)
for循环
中的for循环
# coding:utf-8
a = [1, 2, 3]
b = [4, 5, 6]
for i in a:
print(i)
print('------')
for j in b:
print(i j)
print('=======')
print(i, j)