Question: i need help with this code idk what i am doing wrong WRITE IN PYTHON Let p be a bank's interest rate in percent per
i need help with this code idk what i am doing wrong WRITE IN PYTHON
Let p be a bank's interest rate in percent per year. An initial amount A_0 has then grown to A = A_0(1 + p/100)^n after n years. Make a program for computing how much money A has resulted from a given initial amount of money A0. (In other words, after your program executes, the variable A should contain the final amount of money resulting from the principle A0.) Your code should carry out the following steps: You should not define values for A0, n, and p in your answer, but will need to when composing your code. Calculate A from the necessary variables. For example, 1000 for three years at 5% interest becomes 1157.63. (Don't worry about rounding.) (This assignment is based on Langtangen, Exercise 1.6.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
