Python Variables & Memory: The Deep-Dive Every Beginner Should Read
TL;DR
Variables in Python aren’t “boxes holding values.” They are names pointing to objects in memory.
CPython uses reference counting + a cycle-detecting garbage collector.
Mutable vs immutable objects behave differently with reassignment and fun...
aniksikder.hashnode.dev4 min read