Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python program for simple interest

 
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)
Source by www.sanfoundry.com #
 
PREVIOUS NEXT
Tagged: #python #program #simple #interest
ADD COMMENT
Topic
Name
2+3 =