Question: python When you borrow money from a bank, the amount of money is called the principal. Typically, you borrow the principal for a certain number

 python When you borrow money from a bank, the amount of
python

When you borrow money from a bank, the amount of money is called the principal. Typically, you borrow the principal for a certain number of years, and pay for this privilege. The amount of money that you pay for the loan, above and beyond the principal, is called the interest, and is usually expressed as a percentage of the principal To calculate the interest owed on a loan, we take the product of the principal, the number of years of the loan, and the percentage interest rate, and divide all that by 100. For example, if you borrow $100 for 5 years at 12.5%, you will owe $62.50 in interest. The following assignment statements give the principal, number of years, and interest rate, respectively: principal - 550 years - 7 interest rate = 15.0 Write a statement in Python that will print out the owed interest. Your statement should refer to the variables principal, years, and interest_rate, and it should not copy their literal values into the expression. Instead, refer to the values by their variable name. The result should be: 577.50

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!