Question: Please give me code in python language 1. Many financial experts advise that property owners should insure their homes or buildings for at least 80
Please give me code in python language 1. Many financial experts advise that property owners should insure their homes or buildings for at least 80 percent of the amount it would cost to replace the structure. Write a program that asks the user to enter the replacement cost of a building, then displays the minimum amount of insurance he or she should buy for the property. In order to implement this in OOP, create a class called Insurance with private attribute (property/Data field) called replacementcost with getter setter methods. Write a method called get insurance amt which would determine and return the minimum insurance amount according to the replacement cost of the building. Write an app to create an insurance object with a replacement cost. (This replacement cost can be from the user as input or just assigned value.) Call the method get insurance_amt and display the result 2. A real estate agent can suggest you the type of house you can afford to buy according to your budget Budget 100,000 or less Easy 100,000 to 150,000 150,000 to Two suitesSuper Easy Easy 200,000 Townhouse SingleHome Hard Suite Impossible Hard to Super Easy Easy This application asks the user what the budget is and displays all the suggestions In order to implement this in O0P, Create a class called House with private attribute called budget with the getter setter methods. Create three classes called Suite, Townhouse and SingleHome inheriting House with a public attribute called house_name with getter setter methods and a method called suggestion_result which would return the appropriate phrase according to the budget. For Example: What is your budget?:125000 Suggestions: Suite: Super Easy Townhouse: Easy Single Home: Hard
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
