Question: Python Project 9 - 1 : Interest Calculator Create a program that calculates the interest on a loan. Console ` ` ` Interest Calculator Enter
Python Project : Interest Calculator
Create a program that calculates the interest on a loan.
Console
Interest Calculator
Enter loan amount:
Enter interest rate:
Loan amount: $
Interest rate:
Interest amount: $ $
Continue? yn: y
Enter loan amount:
Enter interest rate:
Loan amount: $
Interest rate:
Interest amount: $
Continue? yn: n
Bye!
Specifications
The formula for calculating the interest amount is:
loanamount interestrate
Use the Decimal class to make sure that all calculations are accurate. It should round the interest that's calculated to two decimal places, rounding up if the third decimal place is five or greater.
The interest rate that's displayed can have up to decimal places.
Assume that the user will enter valid decimal values for the loan amount and interest rate.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
