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

Python Basic — 090: Calibrate truthy shells with property-test curiosity centred on `Lists as ordered, mutable sequences` [843646]

Lesson 090: Lists as ordered, mutable sequences

Focus

This page is deliberate repetition with new literals: Basic drills Lists as ordered, mutable sequences; spin token 750069 makes this page unlike its neighbours.

Key ideas

Example (LESSON_UID = "basic-090")

# Basic drill L090 topic-8 micro-9 pattern-11
LESSON_UID = "basic-090"
spin_a, spin_b, spin_c = 267, 371, 610

bucket = dict(seed=9 + spin_a)

def tweak(offset):
    local = bucket["seed"]
    bucket["seed"] = local + offset
    return bucket["seed"]

print(tweak(9), tweak(4), bucket)

Practice

Practice 16: Rename locals for domain vocabulary-only; keep behaviour identical. Literal nudge 16.

Fingerprints