While we worked with immutables, we passed their values to functions and stored them in variables.
It's different with mutable objects. It's time to learn that everything in Python is passed by reference.
What is a reference? We're going to find out in this lesson. We will start with references' big brothers — addresses and pointers.
References and memory management
The computer's main memory stores all the data needed for a program. To access a specific part of memory, you need to know the address of that part.
In languages with manual memory management, you must constantly monitor that memory at that address is allocated and not yet released. In these languages, the programmer explicitly asks the operating system for the memory needed.