Skip to content

Commit b404e3f

Browse files
Merge pull request #1453 from Rituraj-M50/patch-2
Create simpleInterest.py
2 parents 33b12b9 + 5f322af commit b404e3f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

simpleInterest.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
principle=float(input("Enter the principle amount:"))
2+
time=int(input("Enter the time(years):"))
3+
rate=float(input("Enter the rate:"))
4+
simple_interest=(principle*time*rate)/100
5+
print("The simple interest is:",simple_interest)

0 commit comments

Comments
 (0)