Canva Interview Question

To write a unit function