Skip to content

Commit c95e276

Browse files
author
ReemNaw
committed
add lines
1 parent 6787d92 commit c95e276

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compound_interest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ def compound_interest(p, t, r):
2727
r = float(input("Enter the rate of interest: "))
2828
print(f'R: {r}')
2929

30+
print('-----------')
31+
3032
print("The compound interest is {:.2f}".format(compound_interest(p, t, r)))

0 commit comments

Comments
 (0)