Question: please write the program in python not in java!. Write a program that lets the user enter the loan amount and loan period in number

please write the program in python not in java!.
Write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from 5% to 8%, with an increment of 1/8. The formula to compute monthly payment: monthlyPayment = loanAmount times monthlyInterestRate/1/1 - 1/(1 + monthlyInterestRate)^numberOfYear times 12 totalPayment = monthlyPayment times numberOfYears times 12 Make sure your output is formatted as shown above. Whenever your program accepts user input, you need to make sure that the user supplied values are valid before you use them in your computations. If the user provides an input that is not in the expected range, print an error message and don't process the input. Name the source code file "Loan.py
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
