Python and Fast API
Functions, advanced
Default arguments, *args / **kwargs, lambdas, closures, and decorators — the patterns behind every framework.
4 lessons
Follow in order
Use the button below to sign in and unlock lessons.
Your path
Lessons in sequence
Work through these in order—each lesson builds on the previous one.
-
Lesson 1 of 4
*args, **kwargs, and defaults
-
Lesson 2 of 4
Lambdas and higher-order functions
-
Lesson 3 of 4
Closures and scope (LEGB)
-
Lesson 4 of 4
Decorators explained