← Curriculum track ← Learn hub
Quanta GenAI Curriculum · Python · Basic

Python Basic — 034: Partition edge literals with fresh literals centred on `Strings from literals to slicing` [573393]

Lesson 034: Strings from literals to slicing

Focus

Slow tempo wins; narrate checkpoints aloud: Basic drills Strings from literals to slicing; spin token 339944 makes this page unlike its neighbours.

Key ideas

Example (LESSON_UID = "basic-034")

# Basic drill L034 topic-3 micro-3 pattern-4
LESSON_UID = "basic-034"
spin_a, spin_b, spin_c = 278, 763, 201

score = 173
ladder = []
ladder.append("bronze" if score < (spin_a % 41 + 3) else "silver-ish")
ladder.append("gold" if score > (spin_b % 71 + 3) else "retry")
print(sorted(set(ladder)), score)

Practice

Practice 7: Freeze async sleep at zero vs tiny float; articulate scheduling impact. Literal nudge 7.

Fingerprints