We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6787d92 commit c95e276Copy full SHA for c95e276
compound_interest.py
@@ -27,4 +27,6 @@ def compound_interest(p, t, r):
27
r = float(input("Enter the rate of interest: "))
28
print(f'R: {r}')
29
30
+ print('-----------')
31
+
32
print("The compound interest is {:.2f}".format(compound_interest(p, t, r)))
0 commit comments