Variables, Assignment, and Python's Object Model

Names and Objects: Everything is an Object In Python, every piece of data is represented by an object. This is a fundamental concept that underpins the entire language. An object is more than just its value; it is a self-contained entity that bundles together the data (its state) and the behaviors (methods) that operate on that data. When we write x = 5, we are not creating a memory box named x and putting the integer 5 inside it. Instead, we are creating an integer object with the value 5 somewhere in memory and then creating a name, or a reference, called x that points to that object.

— joke —

...