Python: Mutable, Immutable… everything is object

Colorful clay shaped into objects and creatures
Colorful clay shaped into objects and creatures

In the Python language, everything is an object! From ints to dictionaries, every type of data / collection is an object. However, not all objects are treated the same. Some are mutable while others are immutable. What does this mean?

Maxwell Lovell

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store