How does a decorator in Python work? - Study24x7
Social learning Network
20 Feb 2024 12:59 PM study24x7 study24x7

How does a decorator in Python work?

A

Modifies the behavior of a function without changing its code 

B

Adds new functionality to a class

C

Implements error handling in a program

D

Decorates the user interface of a graphical application

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles