Skip to main content

Guess the Output · #31 · 2026-05-05

What does this print?

Python ·Difficulty 3/3

How to play

Read the code snippet and pick the correct output from four choices. One shot — no take-backs. Press 1–4 or click to answer.

a := []int{1, 2, 3}
b := a[:2]
b = append(b, 99)
fmt.Println(a)

Loading your progress...

Press 1 through 4, or tap a numbered choice, to answer. Back to hub