Skip to content

Commit 172b10e

Browse files
Revert "fixing typo"
This reverts commit 46d3eda. Revert back to before fixin typo
1 parent 83026bb commit 172b10e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compound_interest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def compound_interest(p, t, r):
1717

1818

1919
if __name__ == "__main__":
20-
p = float(input("Enter the principal amount: "))
20+
p = float(input("Enter the principle amount: "))
2121
t = float(input("Enter the time period: "))
2222
r = float(input("Enter the rate of interest: "))
2323

0 commit comments

Comments
 (0)