Python Program to Calculate Simple Interest (SI)

Python Program to Calculate Simple Interest (SI)

How can we find the Simple Interest ? We can do it by applying the following formula, Simple Interest(SI) = (Principal Amount * Rate of Interest * Number of years) / 100.

Simple Interest by Python :



p = float(input("Please Enter the Principal Amount : "))
r = float(input("Please Enter the Rate Of Interest : "))
t = float(input("Please Enter Time period in Years : "))

si = (p * r * t) / 100

print("Simple Interest is = %.2f" %si)

Output :