Autodesk Interview Question

they ask to write a full code in python