p=int(input('amount taken='))
print(' ')
r=int(input('time(in years)='))
print(' ')
t=int(input('interest rate='))
print(' ')
z=(p*r*t)/100
print('the simple interest is:')
print(' ')
print(z)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: