unnested
Pro

© 2026 unnested

Built for learners, by learners

AboutPrivacy PolicyTerms of ServiceContactSuggest a feature
Learn Python

Functions & Scope

15 questions

OutputEasy
Reading from enclosing scope
Multiple choiceEasy
Default argument evaluation
OutputEasy
Implicit None return
VocabularyEasy
What *args does
VocabularyEasy
What **kwargs does

Sign in to save your progress.

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