Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compound_interest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def compound_interest(p, t, r):


if __name__ == "__main__":
p = float(input("Enter the principal amount: "))
p = float(input("Enter the principle amount: "))
t = float(input("Enter the time period: "))
r = float(input("Enter the rate of interest: "))

Expand Down