There was an error while loading. Please reload this page.
1 parent 12d8492 commit eafebf3Copy full SHA for eafebf3
1 file changed
compound_interest.py
@@ -17,7 +17,7 @@ def compound_interest(p, t, r):
17
18
19
if __name__ == "__main__":
20
- p = float(input("Enter the principal amount: "))
+ p = float(input("Enter the principle amount: "))
21
t = float(input("Enter the time period: "))
22
r = float(input("Enter the rate of interest: "))
23
0 commit comments