← Back to archive

Stdle #29 · strings · 2026-07-05

What does this Python snippet output?

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

s = "hi"
print(f"{s!r}")
Strings
4 attempts left

Answer & explanation