Pregunta de entrevista de Qualcomm

How python resolves cyclic references then?