Pregunta de entrevista de Autodesk

they ask to write a full code in python