Examveda

What is the purpose of a decorator in Python?

A. Modify the behavior of functions

B. Decorate GUI elements

C. Add comments to code

D. Convert types of variables

Answer: Option A


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators