27 mins

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.

Want to watch/read screencasts as they're announced?
Profile picture of Trey

My name is Trey Hunner and I'm a Python trainer. Through Python Morsels I publish new Python screencasts every week and I also send out Python exercises.

If you'd like to get announcements for new Python screencasts, sign up for Python Morsels below. I promise I won't spam you (see my Privacy Policy).

✨ Sign Up For Python Morsels ✨