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…

--

--

--

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

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Self-Study

Importance of Logging + Best Practices

Azure Linux VM with Infra

DIGITALAX Receives $100K Grant from Rarible Protocol to Build Shared Orderbook + Liquidity for the…

Using Terraform to Deploy a Three-Tier AWS Architecture

Object Orientation

Tikkie API update: iDEAL QR

Saying Hello to Jetpack Compose

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

Valentina Jaramillo Ramirez

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

More from Medium

Python subclassing and dependency inversion without violating Liskov substitution

Class and instance attributes in Python

How to cache a method of an unhashable type in Python?

Installing Python-ldap on Windows