python program for simple interest

Solutions on MaxInterview for python program for simple interest by the best coders in the world

showing results for - "python program for simple interest"
Elen
20 Jul 2019
1 
2principle=float(input("Enter the principle amount:"))
3time=int(input("Enter the time(years):"))
4rate=float(input("Enter the rate:"))
5simple_interest=(principle*time*rate)/100
6print("The simple interest is:",simple_interest)