We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 33b12b9 + 5f322af commit b404e3fCopy full SHA for b404e3f
simpleInterest.py
@@ -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