Question: Mortgage Payment Calculator PYTHON Program Specifications Write a program that calculates the monthly payment of amortized fixed-rate mortgages. You will be surprised how soon this
Mortgage Payment Calculator PYTHON

Program Specifications Write a program that calculates the monthly payment of amortized fixed-rate mortgages. You will be surprised how soon this concept will be relevant in your life! The following formula is used to calculate the fixed monthly payment (A). r(1+r)" A = P (1+r)" 1 where: A is the payment in each period (month) P is the principal, i.e. the amount of the loan the bank will lend you r is the interest rate per payment periods (months) n is the number of payments (months) Your output should (i.e., the monthly payment) should a number with two digits after the decimal point. See PA02-W1 Driving Costs for the provided code to print such a number. It is helpful if you understand the formula, however, the full understanding of the mathematical details is not necessary to implement it in Python. Sample run User input are 100000, 3.5, and 15 in separate lines. Enter principal: 100000 Enter interest rate: 3.5 Enter years: 15 The monthly payment: $714.88
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
