← Back to archive

Stdle #109 · mutability · 2026-09-23

What does this Python snippet output?

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

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

Answer & explanation