Skkinycalvs commited on
Commit
869f501
1 Parent(s): 8069421

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -29,5 +29,10 @@ def main():
29
  Pi = st.number_input("Ingrese el depósito inicial:", min_value=0.0, step=1.0, format='%f')
30
 
31
  if st.button('Calcular y Graficar Cashflow'):
32
-
 
 
 
 
 
33
 
 
29
  Pi = st.number_input("Ingrese el depósito inicial:", min_value=0.0, step=1.0, format='%f')
30
 
31
  if st.button('Calcular y Graficar Cashflow'):
32
+ cashflow = calcular_cashflow(int(n), float(A), float(r), float(Pi))
33
+ graficar_cashflow(cashflow)
34
+
35
+ if __name__ == "__main__":
36
+ main()
37
+
38