Stdle #133 · iteration · 2026-10-17
What does this Go snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
package main import "fmt" func main() { hits := 0 for i := range 3 { for j := range 3 { if i == j { continue } hits++ } } fmt.Println(hits)}Iteration