运行 ❯
获取您
自己的
网站
×
更改方向
更改主题,深色/浅色
前往空间
adj <- list("red", "big", "tasty") fruits <- list("apple", "banana", "cherry") for (x in adj) { for (y in fruits) { print(paste(x, y)) } }
[1] "红色苹果"
[1] "红色香蕉"
[1] "红色樱桃"
[1] "大苹果"
[1] "大香蕉"
[1] "大樱桃"
[1] "美味苹果"
[1] "美味香蕉"
[1] "美味樱桃"