Skip to content

Commit e174731

Browse files
authored
Update compound_interest.py
1 parent 83026bb commit e174731

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
@@ -21,4 +21,4 @@ def compound_interest(p, t, r):
2121
t = float(input("Enter the time period: "))
2222
r = float(input("Enter the rate of interest: "))
2323

24-
print("The compound interest is {:.2f}".format(compound_interest(p, t, r)))
24+
print("The compound interest of it is {:.2f}".format(compound_interest(p, t, r)))

0 commit comments

Comments
 (0)