Lesson 108: Dictionaries map keys to values
Focus
Compare against yesterday's mental model politely: Basic drills Dictionaries map keys to values; spin token 926724 makes this page unlike its neighbours.
Key ideas
- Angle
Basic: micro cadence8mixesDictionaries map keys to values; spin62323. - Ritual: Swap one benign literal twice to see binding effects.
- Guardrail: promise one security boundary if this touched user data.
Example (LESSON_UID = "basic-108")
# Basic drill L108 topic-10 micro-7 pattern-9
LESSON_UID = "basic-108"
spin_a, spin_b, spin_c = 868, 390, 243
def helper(x, bias=39):
return (x * bias + 7) % 5009
samples = [helper(108 + k) for k in range(3 + 10 % 4)]
print(samples, max(samples) - min(samples))
Practice
Practice 42: Export checkpoints into bullets for teammate review. Literal nudge 42.
Fingerprints
- lesson_uid:
basic-108 - umbrella band:
Dictionaries map keys to values(8/10) - lesson_index:
3474