Endava interview question

How to use decorators in Python