Discover answers to your most pressing questions at Westonci.ca, the ultimate Q&A platform that connects you with expert solutions. Discover reliable solutions to your questions from a wide network of experts on our comprehensive Q&A platform. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform.
Sagot :
Answer:
In Python
current = int(input("Current Price: "))
lmonth = int(input("Last Month Price: "))
mortgage = current * 0.051 / 12
print('The house is ${:.2f}'.format(current))
print('The change is ${:.2f}'.format(current-lmonth)+" since last month")
print('The estimated monthy mortgage is ${:.2f}'.format(mortgage))
Explanation:
This gets the current price
current = int(input("Current Price: "))
This gets the last month's price
lmonth = int(input("Last Month Price: "))
This calculates the mortgage
mortgage = current * 0.051 / 12
This prints the house current price
print('The house is ${:.2f}'.format(current))
This prints the change
print('The change is ${:.2f}'.format(current-lmonth)+" since last month")
This prints the estimated mortgage
print('The estimated monthy mortgage is ${:.2f}'.format(mortgage))
Thank you for your visit. We're dedicated to helping you find the information you need, whenever you need it. Your visit means a lot to us. Don't hesitate to return for more reliable answers to any questions you may have. Westonci.ca is committed to providing accurate answers. Come back soon for more trustworthy information.