Question: Explain Clearly. The Following question will make use of Python. You will be using the Compound interest formula for the question. Write a Python program
Explain Clearly.
The Following question will make use of Python.
You will be using the Compound interest formula for the question.
Write a Python program that assigns the principal amount of $10000 to variable P, assign to n the value 12, and assign to r the interest rate of 8%. Then have the program prompt the user for the number of years t that the money will be compounded for. Calculate and print the final amount after t years.
Don't forget to use the int function to turn the string input for t into an integer.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
