Best afterNumbers have types: int vs float

A comparison is a yes/no value

When you compare two values, Python hands back a real True or False — a value you can store and reuse. Watch a comparison become a stored answer, and watch the boundary trip a common off-by-one.

Decide whether someone aged 18 counts as an adult (18 or older) and store the yes/no answer.

> misses the boundary execution-derived · CPython
variables
state after line 1 runs
variablevalue
age18
step 1 / 2

Click a line, drag the slider, or use the keys.

What you are looking at

Watch is_adult: a comparison turns into a stored bool.

Every state you see came from running the program under CPython's tracer at build time — see how GlassBox stays honest.