?
How is a decorator defined in Python?
Answer & Solution
Correct Answer:
Option
A
Decorators are defined using the @decorator_name syntax above a function definition.
Join the Discussion
Login to post a comment or share your explanation.
Login