Lesson 022: Numbers, operators, and conversions
Focus
Prints are breadcrumbs, not ornamentation: Basic drills Numbers, operators, and conversions; spin token 234529 makes this page unlike its neighbours.
Key ideas
- Angle
Basic: micro cadence2mixesNumbers, operators, and conversions; spin20695. - Ritual: Predict the checksum line, then reconcile on mismatch.
- Guardrail: separate demo-trick from shipping discipline verbally.
Example (LESSON_UID = "basic-022")
# Basic drill L022 topic-2 micro-1 pattern-5
LESSON_UID = "basic-022"
spin_a, spin_b, spin_c = 900, 87, 413
hop = (spin_a % 13) + 1 + 2
total = (spin_b + 22 * spin_c) % 5003
while hop < (99 % 61) + 30:
total += hop
hop = hop * (285 % 5 + 1) % (spin_a % 127 + 1 + 17)
if total % (spin_b % 17 + 1 + 11) == 0:
break
print(total, hop)
Practice
Practice 6: Pair-snippet assertions about checksum ranges you'd ship. Literal nudge 6.
Fingerprints
- lesson_uid:
basic-022 - umbrella band:
Numbers, operators, and conversions(2/10) - lesson_index:
680