Reference no: EM132355649
Question
Write a complete Python program that does the following:
Sam HouseFlipper purchased a house on Cesar
Chavez street on August 1, 2016. The following were the details of the purchase:
Purchase price of the house: $123,000
Closing costs on purchase: $2,111 (paid by Sam)
Title fee $300 (Paid by Sam)
Realtor commission: 2% of the sale price (paid by Sam)
Sam spent $15,999 fixing up this house.
On August 29, 2017 Sam sold the house. The following were the details of the sale:
Sale price of the house: $176,000
Realtor commission on sale: 5% of the sale price
Carpet allowance to buyer: $1100
Write a program that displays the following:
The purchase price of the house
Total closing costs on purchase (closing costs + title fee)
Total realtor commission on purchase
The money spent on fixing up the house
The sale price of the house
Total realtor commission on sale
The total profit or loss that Sam made on this house
To calculate the total profit or loss you will need to write an arithmetic expression in the program.