Question: Develop a Python solution using a FOR LOOP to solve the following problem: An investor deposits $10,000 with an investment company and receives a statement

Develop a Python solution using a FOR LOOP to solve the following problem:

An investor deposits $10,000 with an investment company and receives a statement predicting the earnings on an annual percentage rate (APR) of 6% for a period of 5 years. Write a program that prints the beginning principal and the interest earned for each year of the period. The program also prints the total amount earned and the final principal.

Output should look like this:

1 10000 600.0 

2 10600.0 636.0

3 11236.0 674.16

4 11910.16 714.61

5 12624.77 757.49 T

otal interest: 3382.26 Total principal: 13382.26

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!