Python Articles on Assignment and Mutation

Python's variables aren't buckets that contain things; they're pointers that reference objects.

The way Python's variables work can often confuse folks new to Python, both new programmers and folks moving from other languages like C++ or Java.

Watch a new Python screencast every week

Profile picture of Trey

My name is Trey Hunner. I do corporate Python training for teams and I teach Python online through Python Morsels.

In Python Morsels, I publish a new Python screencast every week.

If you want to learn something new every week, join Python Morsels!

Join Python Morsels ✨