Run ❯
×
Change Orientation
Change Theme, Dark/Light
package main import ("fmt") func main() { fruits := [3]string{"apple", "orange", "banana"} for idx, _ := range fruits { fmt.Printf("%v\n", idx) } }
0
1
2