Vidyalelo
Python · Q44

Formatting and Decorators

Programming · Python · question 44

Q44

What is the purpose of a decorator in Python?

A.
Modify the behavior of functions
Answer
B.
Decorate GUI elements
C.
Add comments to code
D.
Convert types of variables

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board