DXC Technology interview question

How is memory managed in python?