Question: Python programming!! Write a program that displays how an investment can grow over the years based on a specific interest rate. Your program should prompt
Python programming!!

Write a program that displays how an investment can grow over the years based on a specific interest rate. Your program should prompt the user to enter any number of years ("Enter number of years"), and your program should display the incrementing balance for that many years. Your print statement should be formatted with spacing and include the year(4 spacing) and the balance(10 spacing, two places behind the decimal). You can use constants for the interest rate of 5% and an initial balance of 10,000 . - Print the balance at the end of each year for a number of years for year in range (1, numYears + 1): Update balance. Print year and balance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
