We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31fef52 commit 075af4eCopy full SHA for 075af4e
1 file changed
simple interest
@@ -0,0 +1,17 @@
1
+# Python3 program to find simple interest
2
+# for given principal amount, time and
3
+# rate of interest.
4
+
5
6
+def simple_interest(p,t,r):
7
+ print('The principal is', p)
8
+ print('The time period is', t)
9
+ print('The rate of interest is',r)
10
11
+ si = (p * t * r)/100
12
13
+ print('The Simple Interest is', si)
14
+ return si
15
16
+# Driver code
17
+simple_interest(1000, 2, 5)
0 commit comments