Calculate simple interest using python

Formula for simple interest is : (principal amount* rate of interest* time period)/100

SI= (P*R*T)/100

p=int(input("Enter the principal amount "))
r=int(input("Enter the interest rate per annum "))
t=int(input("Enter the time period in years "))
simple_interest=(p*r*t)/100
print("SIMPLE INTEREST = ", simple_interest)

Leave a comment

Create a website or blog at WordPress.com

Up ↑

Design a site like this with WordPress.com
Get started