In Python, you can use an assignment statement to mutate an object.
Normally when we think of assignment statements we think of assigning a variable name to a value, like this:
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.