Domanda di colloquio di HCLTech

What is decorator in python and how write your own one?