diff --git a/README.md b/README.md index b103466139..b931f3f3bc 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,4 @@ Output simple interest = p*t*r ``` -_© 2022 XYZ, Inc._ +_© 2024 XYZ, Inc._ diff --git a/compound_interest.py b/compound_interest.py index 9673a7a029..15972e65e6 100755 --- a/compound_interest.py +++ b/compound_interest.py @@ -11,6 +11,7 @@ # Output: # compound interest = p * (1 + r/100)^t +#fixed a typo here def compound_interest(p, t, r): return p * (pow((1 + r / 100), t))