Mutable, Immutable… everything is object! (Python)

Img 1 :The standard type hierarchy in Python 3

Id ( ) and type ( ) functions!

img 2: Example of id () function
img 3: Example of type () function

Mutable and Immutable Objects!

img 4: Object clasification
Img 5: Mutable and immutable explanation
Img 6: Mutable example
Img 7: Immutable example
Img 8: Type of objects classification according to its mutability
Img 9: Example argument immutable



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 Gómez A.

Valentina Gómez A.

Hi I am a financial engineer, and a software development student in Holberton School!