开始 ❯
×
改变方向
更改主题,深色/浅色
package main import ("fmt") func main() { var adj = [2]string{"big", "tasty"} var fruits = [3]string{"apple", "orange", "banana"} for i:=0; i < len(adj); i++ { for j:=0; j < len(fruits); j++ { fmt.Println(adj[i],fruits[j]) } } }
big apple
big orange
big banana
tasty apple
tasty orange
tasty banana