Vidyalelo
Python · Q1

Decorators in Depth

Programming · Python · question 1

Q1

What are decorators in Python?

A.
Design patterns
B.
Functions that add functionality to other functions
Answer
C.
Programming languages
D.
Built-in Python modules

Answer: Option B

Solution

Answer: Option B
Solution:
Decorators are functions that enhance or modify the behavior of other functions.