← Back to archive

Stdle #53 · classes · 2026-07-29

What does this Python snippet output?

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

class Temp:
def __init__(self, c): self._c = c
@property
def f(self): return self._c * 9 / 5 + 32
print(Temp(100).f)
Classes
4 attempts left

Answer & explanation