Pregunta de entrevista de Keywordio

They asked me to write a Python program and understanding of memory allocations of objects