Ask a Question
def C(p,r,t):
c=p(1+(r/100))**t
print("Compound Interest :",c)
C(1000,3,4)
TypeError Traceback (most recent call last)
<ipython-input-2-b0ccc723815b> in <module>
5 print("Compound Interest :",c)
6
----> 7 C(1000,3,4)
<ipython-input-2-b0ccc723815b> in C(p, r, t)
2
3 def C(p,r,t):
----> 4 c=p(1+(r/100))**t
5 print("Compound Interest :",c)
6
TypeError: 'int' object is not callable
def C(p,r,t):
c=p(1+(r/100))**t
print("Compound Interest :",c)
C(1000,3,4)
TypeError Traceback (most recent call last)
<ipython-input-2-b0ccc723815b> in <module>
5 print("Compound Interest :",c)
6
----> 7 C(1000,3,4)
<ipython-input-2-b0ccc723815b> in C(p, r, t)
2
3 def C(p,r,t):
----> 4 c=p(1+(r/100))**t
5 print("Compound Interest :",c)
6
TypeError: 'int' object is not callable
Fuel your ambition, discover your passion and achieve your professional goals with LetsUpgrade.
Sign Up Now