Skip to content

Commit 89b51cf

Browse files
author
name
committed
Revert "fixing typo"
This reverts commit 46d3eda.
1 parent 13b8d08 commit 89b51cf

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)