unnested
Pro

© 2026 unnested

Built for learners, by learners

AboutPrivacy PolicyTerms of ServiceContactSuggest a feature
Learn Python

Decorators

12 questions

OutputEasy
Decorator wrapper with *args
Multiple choiceEasy
What does the @ syntax do?
OutputEasy
Function name after decoration
OutputMedium
functools.wraps preserves metadata
Output

Sign in to save your progress.

Medium
Decorator that takes arguments
OutputMedium
Stacked decorators apply bottom-up
OutputMedium
Decorator capturing state via closure
VocabularyMedium
What @property does
OutputHard
Decorator with arguments drops return value
OutputHard
Stacked decorators and __name__ without wraps
Multiple choiceHard
Class-based decorator mechanics
VocabularyHard
What functools.wraps does