Python Practice Test
Python Decorators and Closures
What is a decorator in Python?
Select your answer
A
A function that modifies or extends the behavior of another function
B
A class attribute that defines object appearance
C
A special comment syntax for documentation
D
A built-in function for string formatting
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →