LTIMindtree interview question

How is memory allocation done in python?