A 20-question interactive quiz covering Python functions and scopes fundamentals, including positional and keyword arguments, default values, *args and **kwargs, return statements, inner functions, the LEGB rule, namespaces, and the global and nonlocal keywords.

1m read timeFrom realpython.com
Post cover image

Sort: