Tuples in Python are immutable, meaning you cannot mutate them; you cannot change them. Except you can change the value of a tuple... sort of.
We have a dictionary here, called data
:
...
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.