top of page


Python Practice Set (Part 19): Decorators and Generators
Decorators: A way to add new functionality to an existing function without modifying its source code.
Generators: A special type of function that allows you to work with large sequences of data without storing them all in memory at once.
Anubhav Somani
Sep 32 min read
bottom of page