Asper AI interview question

Write a python web api for with some small calculations and conditions