Pregunta de entrevista de JPMorganChase

Very detailed Python question that I can't remember now