Boston Scientific interview question

Explain Python Generators and decorators