Examveda

In Python, what is the purpose of the @property decorator?

A. Define getter methods

B. Set the value of attributes

C. Define instance methods

D. Define class methods

Answer: Option A


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators