Question: Compute the ending value in a single formula using Python and data validation. Showing steps on Python. Now, you need to write a program that
Compute the ending value in a single formula using Python and data validation. Showing steps on Python.

Now, you need to write a program that shows the value of the investment (and other information) on an annual basis. As an example, starting beginning of 2022 with a $1,000 investment at a 10% interest rate for 5 years. The output would look something like this. a EOY Beg. Amt. Int. Earned End. Amt. 2022 $1000.00 $100.00 $1100.00 2023 $1100.00 $110.00 $1210.00 2024 $1210.00 $121.00 $1331.00 2025 $1331.00 $133.10 $1464.10 2026 $1464.10 $146.41 $1610.51 TOTAL INTERESTED EARNED: $610.51 Ask the user to enter an investment amount, an interest rate (in %), and an investment duration. Produce a schedule similar to above. (Your output will most likely not look perfect, because of alignment issues. Just get close on the alignment. You can assume that the user will enter an investment amount between $10,000 and $25,000. You can also assume a reasonable interest rate and a duration no longer than 10 years.) Data validation You must validate the investment amount to ensure that it is greater than 0 (zero) and less than $50,000 ($50,000 is not acceptable). You must validate interest rate for being 2% to 9% (including 2% and 9%). You must validate duration to ensure that it is no more than 10 years (10 years is acceptable). No other validation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
