Pergunta de entrevista da empresa HCLTech

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