Examveda
Examveda

What is the primary purpose of using decorators?

A. To reduce code complexity

B. To replace existing functions

C. To add functionalities to functions

D. To remove functionalities from functions

Answer: Option C

Solution(By Examveda Team)

Decorators are used to add or modify functionalities of functions without changing their code.

This Question Belongs to Python Program >> Decorators In Depth

Join The Discussion

Related Questions on Decorators in Depth