"what laundry facilities does "the property have"apartment valid_laundriesbalcony get_valid_input"does the property have balcony"apartment valid_balconiesparent_init update("laundry"laundry"balcony"balcony }return parent_init prompt_init staticmethod(prompt_initthat' much easier to read (and maintain!than our original version now we're ready to build the house class this class has parallel structure to apartmentbut refers to different prompts and variablesclass house(property)valid_garage ("attached""detached""none"valid_fenced ("yes""no"def __init__(selfnum_stories=''garage=''fenced=''**kwargs)super(__init__(**kwargsself garage garage self fenced fenced self num_stories num_stories def display(self)super(display(print("house details"print("of stories{}format(self num_stories)print("garage{}format(self garage)print("fenced yard{}format(self fenced)def prompt_init()parent_init property prompt_init(fenced get_valid_input("is the yard fenced"house valid_fencedgarage get_valid_input("is there garage"house valid_garage