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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started