A class definition called Property is given below. Create c…
A class definition called Property is given below. Create code for a method that displays a brief description of the property when the Python print function prints the object id of the property. The “__size” and “__value” attributes are integer values, the other attributes are strings. class Property ( ): def __init__(self, name, propID, loc, size, value, owner): self.__name = name self.__propID = propID self.__loc = loc self.__size = size self.__value = value self.__owner = ownerFor example, when this code is executed: p1 = Property(‘Private Res.’, ‘FX0042’, ‘9900 University Dr’, 9500, 765000, ‘Maria Muellerl’) ……the code print(p1) displays this: Name: Private Res. Property ID: FX0042 Location: 9900 University Dr Size: 9500 sq ft Value: $765000 Owner: Maria Mueller