python programTo find simple interest
Answers
Answered by
1
Answer:
p = float(input("Enter the principal amount: "))
t = float(input("Enter the time in years: "))
r = float(input("Enter the interest rate: "))
simple_interest = p * t * r / 100
print("Simple Interest = %.2f" %simple_interest)
1
2
3
4
5
6
7
p = float(input("Enter the principal amount: "))
t = float(input("Enter the time in years: "))
r = float(input("Enter the interest rate: "))
simple_interest = p * t * r / 100
print("Simple Interest = %.2f" %simple_interest)
Explanation:
Answered by
1
Question:-
Write a python program to find simple interest.
Solution:-
Here is your program.
p=float(input("Enter the Principal: "))
r=float(input("Enter the Rate of Interest: "))
t=float(input("Enter the time period in years: "))
si=p*r*t//100
print("Simple Interest is: ",si)
Similar questions