RBC interview question

Python function syntax for specific functions