Python Program to calculate compound interest


p=int(input('enter principle amount'))

r=int(input('enyer rate of intrest'))

t=int(input('time of intrest'))

ci=p*(1+r/100)**t

print('compound intrest',ci)

Comments

Some popular posts

Python Program that computes the net amount of a bank account based a transaction log from console input.