Autodesk interview question

they ask to write a full code in python