Stdle #44 · iteration · 2026-07-20
What does this Go snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
package main import "fmt" func main() { s := []int{} for i := range 3 { s = append(s, i*i) } fmt.Println(s)}Iteration