GabriIT commited on
Commit
43451b6
·
verified ·
1 Parent(s): ce55cc9
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def calculate_yearly_interest(maturity_value:int, current_value:int, maturity_ye
22
  # Calculate the yearly interest
23
  yearly_interest = str((maturity_value / current_value) ** (1 / maturity_years) - 1)
24
  # return yearly_interest
25
- return f"the zero-bond yearly interest rate for maturity {maturity_years} years is in percentage: {yearly_interest}"
26
 
27
 
28
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
 
22
  # Calculate the yearly interest
23
  yearly_interest = str((maturity_value / current_value) ** (1 / maturity_years) - 1)
24
  # return yearly_interest
25
+ return f"the zero-bond yearly interest rate for maturity {maturity_years} years is in percentage:"
26
 
27
 
28
  # Below is an example of a tool that does nothing. Amaze us with your creativity !