Designing a simple real estate application that allows an agent to manage
properties available for purchase or rent. There will be two types of properties: apartments and houses which can be available for purchase or rent. The agent needs to be able to enter relevant details about new properties, list all currently available types of properties (i.e. rentedHouse, purcaseHouse, rentedApartment and purchaseApartment). Houses and apartments may need separate classes. Rentals and purchases also seem to require separate representation. Write a menu driven python program using the concept of inheritance and polymorphism for the mentioned case.