Learn Python
Understand the language, practise independently, then connect the parts in working programs.
Choose your starting point
91 lessons · 41 syntax entries · 14 additional practice and interview tasks. Existing lesson exercises remain available throughout the course.
The complete course
1 lessons in 1 sections
Closures & Decorators
1 lessonsA closure is a function that retains access to names from an enclosing function. A decorator transforms or wraps a callable to add behavior.