LuisLozano commited on
Commit
27b0db3
1 Parent(s): ec48dca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -18,6 +18,11 @@ T = st.number_input(
18
  # Numpy array with the months
19
  t = np.arange(T + 1)
20
 
 
 
 
 
 
21
  # Numpy array with the returns for each month in t
22
  y = A * (1 + (r/(12*100)))**t
23
 
 
18
  # Numpy array with the months
19
  t = np.arange(T + 1)
20
 
21
+ # Numpy array for the interest rate
22
+ r_list = np.array([r] * len(t))
23
+
24
+ st.write(r_list)
25
+
26
  # Numpy array with the returns for each month in t
27
  y = A * (1 + (r/(12*100)))**t
28