Mutable tuples PREMIUM

Topic Series: Assignment and Mutation

Trey Hunner smiling in a t-shirt against a yellow wall
Trey Hunner
3 minute read Works on Python 3.7—3.10
Python Morsels
Watch as video

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. ...

Write more Pythonic code

Need to fill-in gaps in your Python skills? I send regular emails designed to do just that.