Question: Program 3.1 (5 points) Create a program named money.py Let's create a program to demonstrate the effects of compound interest. A bank account, for example,

Program 3.1 (5 points) Create a program named money.py Let's create a program to demonstrate the effects of compound interest. A bank account, for example, may have its interest compounded every year: in this case, an account with $1000 initial principal and 20% interest per year would have a balance of $1200 at the end of the first year, $1440 at the end of the second year, and so on. Write a program that: o prompts the user for an amount of money to invest in the compounding account o prompts the user for the interest rate per year o prompts the user the number of years to compound o uses a for loop to display the balance of the account for each year For example: Please enter the amount of money to deposit: 1000 Please enter the interest percentage rate: 20 Please enter the number of years to compute: 4 The balance is $1200.0 The balance is $1440.0 The balance is $1728.0 The balance is $2073.6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
