← Back to archive

Stdle #83 · iteration · 2026-08-28

What does this Python snippet output?

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

s = [1, 2, 3]
print(list(reversed(s)))
print(s[::-1])
Iteration
2 lines
4 attempts left

Answer & explanation