Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with this python project. Our teacher gave us the answer but her file is not working whatsoever This is how it's supposed

I need help with this python project. Our teacher gave us the answer but her file is not working whatsoever

This is how it's supposed to look in the end. I've tried doing it myself changing like the formula but regardless it still doesn't work.

image text in transcribed

NL Where, A-Accumulated amount (principal and interest) P principal amount (initial investment) rannual nominal interest rate (as a decimal) n number of times the interest is compounded per year t-time as number of years Write a Python program to find total investment using compound interest. Accept input from the user for: principal, annual interest rate, number of times compounded per year, and number of years. After accepting all necessary input, calculate the total investment. Use the format function to display your answer. Your answer should display with commas for numbers> 1000 and rounded to TWO places after the decimal. If the number of years is greater than or equal to 10 years, print the message: "Long term investments are important for retirement planning. after the amount earned is given. Check your answers and be sure they are correct!! Turn in your source file and print your program's output for each of the following situations: a) b) c) d) principal of 10,000 at 8% interest compounded monthly for 10 years principal of 10,000 at 8% interest compounded monthly for 5 years principal of 1,000 at 3% interest compounded monthly for 15 years one more example where you choose your own input

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

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago