Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago