代码示例:(标识:python_for_nested)
python_for_nested.py
adj = ["red", "big", "tasty"]
fruits = ["apple", "banana", "cherry"]

for x in adj:
  for y in fruits:
    print(x, y)
运行结果: