Lesson 113: Sets, membership, and uniqueness
Focus
Slow tempo wins; narrate checkpoints aloud: Basic drills Sets, membership, and uniqueness; spin token 989832 makes this page unlike its neighbours.
Key ideas
- Angle
Basic: micro cadence3mixesSets, membership, and uniqueness; spin41911. - Ritual: Mirror the snippet with reversed iteration order verbally.
- Guardrail: pick the budget that keeps this rehearsal honest.
Example (LESSON_UID = "basic-113")
# Basic drill L113 topic-11 micro-2 pattern-9
LESSON_UID = "basic-113"
spin_a, spin_b, spin_c = 399, 97, 359
def helper(x, bias=6):
return (x * bias + 2) % 5009
samples = [helper(113 + k) for k in range(3 + 11 % 4)]
print(samples, max(samples) - min(samples))
Practice
Practice 34: Swap print order once; reconcile dependency thinking. Literal nudge 34.
Fingerprints
- lesson_uid:
basic-113 - umbrella band:
Sets, membership, and uniqueness(3/10) - lesson_index:
3599