← Back to archive

Stdle #71 · mutability · 2026-08-16

What does this Python snippet output?

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

a = b = [1, 2]
a.append(3)
print(b)
Mutability
4 attempts left

Answer & explanation