Pregunta de entrevista de Thought Machine

To explain the code I wrote during the assignment