Question: 3. Write Python code that asks the user for a loan amount, length of loan, and the annual percentage rate and then prints out the

 3. Write Python code that asks the user for a loan

3. Write Python code that asks the user for a loan amount, length of loan, and the annual percentage rate and then prints out the monthly payment amount, the total interest paid on the loan, and the total amount paid. You can use the following formula to calculate monthly payments: rP p 1200 1 (1 + 1200) 12t where; P is the principle or loan amount, t is the loan amount in years, and r is the annual interest rate. For example: >>> Enter amount of loan: 500000 >>> Enter length of loan, in years: 30 >>> Enter the annual percentage rate: 4.25 Monthly payments: Total Interest Paid: Total Amount Paid: 2459.7 385492.0 885492.e

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!