Your question is Python Decorators and Timing Wrapper. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Explain how Python decorators work under the hood, including what happens when a function is decorated, and then write a custom decorator that logs the execution time of a function.