We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83026bb commit 50cb591Copy full SHA for 50cb591
compound_interest.py
@@ -1,12 +1,12 @@
1
# This script calculates yearly compound interest given principal, annual rate of interest and time period in years.
2
# Do not use this in production. Sample purpose only.
3
4
-# Author: Upkar Lidder (IBM)
+# Author: prudvi (IBM)
5
6
# Input:
7
-# p, principal amount
8
-# t, time period in years
9
-# r, annual rate of interest
+# p= principal amount
+# t= time period in years
+# r= annual rate of interest
10
11
# Output:
12
# compound interest = p * (1 + r/100)^t
0 commit comments