Learn Python

Functions & Scope

15 questions

Easy
Easy
Easy
Medium
Closure variable capture
Medium
*args and **kwargs types
Medium
Mutable default argument bug
Medium
Assignment without global
Medium
What a closure is
Medium
What nonlocal does
Medium
What LEGB means
Hard
Closure late binding
Hard
nonlocal counter
Hard
Unpacking into function call

Sign in to save your progress.