?
What is the purpose of the property decorator in Python?
Answer & Solution
Correct Answer:
Option
C
The property decorator is used to define a getter method for a class attribute.
Join the Discussion
Login to post a comment or share your explanation.
Login