HuSusu commited on
Commit
99db7f1
·
1 Parent(s): 61b24aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -34,12 +34,8 @@ def compound(
34
  investment_length
35
  tax_rate
36
  """
37
- gross_earnings = initial_investment
38
- * (1 + yearly_interest_rate / 12) ** (investment_length / 12 * 12)
39
- - initial_investment
40
- return (
41
- gross_earnings * (1-tax_rate)
42
- )
43
 
44
 
45
  def ETF_with_price_net_change(
 
34
  investment_length
35
  tax_rate
36
  """
37
+ gross_earnings = initial_investment * (1 + yearly_interest_rate / 12) ** (investment_length / 12 * 12) - initial_investment
38
+ return (gross_earnings * (1-tax_rate))
 
 
 
 
39
 
40
 
41
  def ETF_with_price_net_change(