diff --git a/compound_interest.py b/compound_interest.py index 9673a7a029..cd89c43c2c 100755 --- a/compound_interest.py +++ b/compound_interest.py @@ -1,15 +1,3 @@ -# This script calculates yearly compound interest given principal, annual rate of interest and time period in years. -# Do not use this in production. Sample purpose only. - -# Author: Upkar Lidder (IBM) - -# Input: -# p, principal amount -# t, time period in years -# r, annual rate of interest - -# Output: -# compound interest = p * (1 + r/100)^t def compound_interest(p, t, r):