← Back to archive

Stdle #32 · slices · 2026-07-08

What does this Go snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

package main
import "fmt"
func main() {
a := [2]int{1, 2}
b := [2]int{1, 2}
fmt.Println(a == b)
}
Slices
4 attempts left

Answer & explanation