From be6ab63b8e9a86e4a598b2373e24c40976ea5c15 Mon Sep 17 00:00:00 2001 From: Isma1Huz Date: Sun, 27 Oct 2024 20:43:04 +0300 Subject: [PATCH] updated --- compound_interest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compound_interest.py b/compound_interest.py index 9673a7a029..381ca71c50 100755 --- a/compound_interest.py +++ b/compound_interest.py @@ -11,7 +11,7 @@ # Output: # compound interest = p * (1 + r/100)^t - +# I have update this script def compound_interest(p, t, r): return p * (pow((1 + r / 100), t))