Whenever Python exits, why isn’t all the memory de-allocated?
Python uses automatic memory management with reference counting and garbage collection. While memory is automatically deallocated, some objects may not be immediately collected, leading to small memory leaks.