Programming

In Python, a name is a sticker, not a box

Two names can sit on one object. Whether it can change is what makes lists and strings behave differently.

What you'll learn

  • Why b = a is a second name, not a copy
  • Which Python types change in place and which are replaced
  • How the mutable default argument bug gets written
Python 8 steps 24 seconds

Was this useful?

Share

Understand it one step at a time

The short runs these in order in about 24 seconds. Here they are written out — pick any step to jump the short straight to it.

Free app · no app store

These are built for a phone

Every short is drawn at full portrait height, the shape a phone already is. Installed, it opens full-bleed with no address bar across the top — and the whole library reads offline.

How it works

More shorts

Get new posts by email

New technical articles, Azure AI and GitHub Copilot updates, and upcoming events. No spam, unsubscribe anytime.

navigate open