python program to calculate simple interest using function. soure coad needed
Answers
Answered by
16
Answer:
User must enter the values for the principle amount, rate and time.
The formula: (amount*time*rate)/100 is used to compute simple interest.
The simple interest is later printed.
Explanation:
hope it's helpful to you
Answered by
7
principle=float(input("Enter the principle amount:"))
time=int(input("Enter the time(years):"))
rate=float(input("Enter the rate:"))
simple_interest=(principle*time*rate)/100
print("The simple interest is:",simple_interest)
Similar questions