Mutable vs Inmutable in Python

First, in the Python language, the data takes the form of objects, these objects are a block of memory with values, and a variable is something that references to that piece of memory. The variable stores the address to that object, that is why you can reassign a variable pointing to different types of data.

As we see, everything is an object in Python. Even simple numbers, with values, and supported…



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
Valentina Jaramillo Ramirez

EN | SP Software Developer Student at Holberton School in Medellin, Colombia.