r/learnmachinelearning • u/Sea-Ad7805 • 8d ago
Python Mutability: tuple vs list
An exercise to help build the right mental model for Python data.
The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening.
4
Upvotes
View all comments
3
u/SteamEigen 8d ago
Today I learned that you can add to a tuple. I expected it to be more immutable.