Introduction to first-class functions and decorators

Python Morsels Exercise Path

This path will introduce you to the notion of first-class functions and eventually to decorator functions.

The first exercise involves passing functions as arguments. The next exercise involves defining a function within another function. After that you'll receive 2 exercises that require making your own decorators.

This path is recommended for novice-level users

Exercises included
natural_sort
partial
count_calls
coalesce
Loading...