DevJourney · code I wrote while learning
simple-interest.py
176 Bp = float(input("Enter the principle amount: "))
r = float(input("Enter the rate: "))
t = float(input("Enter the time: "))
si = p * r * t / 100
print("Simple interest is", si)DevJourney · code I wrote while learning
p = float(input("Enter the principle amount: "))
r = float(input("Enter the rate: "))
t = float(input("Enter the time: "))
si = p * r * t / 100
print("Simple interest is", si)