Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a Python Version 3 program that will ask you the loan amount and the inter

ID: 3933853 • Letter: W

Question

Write a Python Version 3 program that will ask you the loan amount and the interest rate.

Then the program will tell you - The monthly payment, How many months it will take you to pay off the loan, The total amount of interest paid over the life of the loan. Program should also indicate the final payment as in many cases the final payment at the end of the loan would not be exactly the normal monthly payment and also the total paid (initial loan plus the interest). You do not need to output the monthly interest paid and the remaining debt. Your output should look like the following…(it may differ, if you use GUIs).

Explanation / Answer

int_p = p = 1000
r = 18
emi = p*(5/100)
m = 0
total_int = 0
while(True):
   if(p>0):
       interest = p*(1.5/100.0)
       total_int += interest
       d = emi - interest
       p = p - d
       m += 1
   else:
       break;
      
print()
print("Loan amount : $",int_p)
print("Interest rate : ",r)
print("Monthly payment : $",emi)
print("Final payment : $",p+d)
print("Life of loan (Months): ",m)
print("Total Interest paid : $",total_int)
print("Total paid at the end of loan: $",(int_p+total_int))

Output:

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote