I need help creating a program in Python I am in Introductio

I need help creating a program in Python. I am in Introduction to Programming using Python and need a simple and easy to understand code for an exercise. Here is the exercise:

\"6.7 (Financial application: compute the future investment value) Write a function that computes a future investment value at a given interest rate for a specified number of years. Use the following function header:

def futureInvestmentValue(

      investmentAmount, monthlyInterestRate, years):

For example, futureInvestmentValue(10000, 0.05/12, 5) returns 12833.59.

Write a test program that prompts the user to enter the investment amount and the annual interest rate in percent and prints a table that displays the future value for the years from 1 to 30. Here is a sample run:

The amount invested: 1000

Annual interest rate: 9

Years                Future Value

1                               1093.80

2                               1196.41

. . .

29                            13467.25

30                            14730.57\"

The output needs to have only two decimal places. You are getting annual interest rate from the user, but you need to convert it to monthly interest rate, so divide by 1200. Any help providing a simple code for this exercise would be greatly appreciated.

Solution

main.py

I need help creating a program in Python. I am in Introduction to Programming using Python and need a simple and easy to understand code for an exercise. Here i

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site