How does Python's garbage collection work? code example Example: force garbage collection in python import gc gc.collect()