Prоchаskа аnd DiClemente's prоpоsed "Stages of Change" go in the following order:
Belоw is the definitiоn оf а clаss cаlled Property. Show the code that needs to be added to the class definition to allow a program that uses the class to set the '__type' and '__descr' attributes to new values. Validate that the new '__type' value is one of these: "R", "I", "S" or "M". If it is, the method sets the '__type' value to the new one and also sets the '__descr' value to: "residential" if '__type' is "R" "industrial" if '__type' is "I" "retail" if '__type' is "S" "multiunit" if '__type' is "M" The method then returns 'True'. If the new value for '__type' is not valid return False without resetting anything. Also show the code that a program that has already instantiated a Property object 'p' would execute to reset its '__type' attribute to 'S' and '__descr' attribute to 'retail'. You do not have to type the code for the class definition in your answer. Correct answers with fewer than 10 lines of code receive full credit (20 points). Answers with 10 or more lines of code can receive a maximum of 16 points. class Property ( ): def __init__(self, propID, loc, size, type, descr): self.__propID = propID self.__loc = loc self.__size = size self.__type = type self.__descr = descr