1 · Python concept
The idea
| Boolean | A value with two possibilities: True or False, written with capital first letters. |
|---|---|
| state | The value a variable holds at one moment. is_on models whether our lantern is on. |
| assignment | The equals sign stores a value. Assigning True changes the local state. |
| toggle sequence | Predict False → True → False → True, matching OFF → ON → OFF → ON. |
| Python → YAML → Trail | Local Python models the idea. YAML declares toggle.off_color and toggle.on_color. Trail owns runtime session state; every toggle starts off. |