I would like to understand how the built-in function property works. What confuses me is that property can also be used as a decorator, but it only
property
A property can be declared in two ways.
You can have a look at few examples I have written about properties in python.