Stdle #142 · 2026-10-26

What does this log?

Read the snippet and type its exact console output. You get 4 attempts — each wrong guess unlocks a hint.

package main
import "fmt"
func main() {
s := []int{1, 2, 3, 4}
t := s[:2]
t = append(t, 9)
t[0] = 7
fmt.Println(s)
}
Slices
4 attempts left

Daily Polyglot

0/11

Solve today's puzzle in every language.