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