Assume that we have defined a class called House that has at…

Assume that we have defined a class called House that has attributes of owner’s name, address, number of bedrooms, and number of baths.  The attribute names in the class definition are name, address, numBRs and numBAs.  numBRs and numBAs are integers.  The other attributes are strings (characters).  What code will create a House object with owner name “Mary Smith”, address “6 Stable Way”, numBRs is 4, and numBAs is 2.  The object will be assgined the variable name h1.  

View the following class definition then answer the question…

View the following class definition then answer the question that follows. class Date ( ):       def __init__ (self, day, month, year, descr):                 self.month = month                 self. day = day self.year = year                self.descr = descr         def __str__ (self):                 return str(self.month) + ‘/’ + str(self.day) + ‘/’ + str(self.year) + ‘ – ‘ + self.descrd1 = Date(’01’, ’04’, ‘2022’, ‘Important date’)print(d1) What is the display output of the above code?