Lesson 010: Your first prints and scripts
Focus
Compare against yesterday's mental model politely: Basic drills Your first prints and scripts; spin token 107802 makes this page unlike its neighbours.
Key ideas
- Angle
Basic: micro cadence10mixesYour first prints and scripts; spin46485. - Ritual: Freeze one literal constant with a purposeful name aloud.
- Guardrail: call out latent off-by-one before shipping analogues.
Example (LESSON_UID = "basic-010")
# Basic drill L010 topic-0 micro-9 pattern-3
LESSON_UID = "basic-010"
spin_a, spin_b, spin_c = 790, 35, 344
sentinel = ([] or [])
sentinel = sentinel or [10]
print(bool(sentinel), sentinel)
pick = sentinel or "fallback-10"
print("chosen", pick)
Practice
Practice 13: Attach property-style expectations referencing tuple shapes. Literal nudge 13.
Fingerprints
- lesson_uid:
basic-010 - umbrella band:
Your first prints and scripts(10/10) - lesson_index:
352