From 2588a28705479cc1d976d978022075bab318d37e Mon Sep 17 00:00:00 2001 From: Jane Date: Sat, 22 Mar 2025 12:05:59 +0100 Subject: [PATCH] fixed code --- compound_interest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compound_interest.py b/compound_interest.py index 9673a7a029..d014ffa3b8 100755 --- a/compound_interest.py +++ b/compound_interest.py @@ -13,7 +13,7 @@ def compound_interest(p, t, r): - return p * (pow((1 + r / 100), t)) + return p * (pow((1 + r / 100), t)) - p if __name__ == "__main__":