Discover answers to your questions with Westonci.ca, the leading Q&A platform that connects you with knowledgeable experts. Discover in-depth answers to your questions from a wide network of experts on our user-friendly Q&A platform. Explore comprehensive solutions to your questions from a wide range of professionals on our user-friendly 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))
We appreciate your time. Please come back anytime for the latest information and answers to your questions. We hope you found this helpful. Feel free to come back anytime for more accurate answers and updated information. Your questions are important to us at Westonci.ca. Visit again for expert answers and reliable information.