Question: Python Assignment Exercise 7: Write a program called mortgageCalculator.py. Create a mortgage calculator. It should calculate mortgage payments and total mortgage cost. Users will enter
Python Assignment


Exercise 7: Write a program called mortgageCalculator.py. Create a mortgage calculator. It should calculate mortgage payments and total mortgage cost. Users will enter the following: The amount of money borrowed (principal) The duration of the loan in years (years) The annual percentage rate for the loan (apr) The number of payments made so far (paidPayments) The program will calculate: Total number of payments (totalPayments) Monthly payment amount (payment) Total cost for the loan (totalCost) Total interest (totallnterest) Outstanding principal (outstanding) Amount paid so far (paid) It should format the output so it looks something like this: Total loan $250000.00 Interest- 3.35% Years 15 Number of payments 180 Payment amount 1768 4/5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
