Python property function example

The property() is a built-in function in Python that returns the object of the property class. In other words, it