We have two types of changes in Python, assignments and mutations. Augmented assignment statements combine those two types of change.
We've assigned both numbers
and numbers2
to the same list:
...
This is a premium screencast available only to active Python Morsels subscribers.
Feel free to watch some of the free screencasts in the Assignment and Mutation series.
Need to fill-in gaps in your Python skills? I send weekly emails designed to do just that.