Spaces:
Runtime error
Runtime error
LuisLozano
commited on
Commit
•
7b87879
1
Parent(s):
11370f2
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,8 @@ r = st.number_input(
|
|
7 |
"Insert the interest rate (nominal in %): "
|
8 |
)
|
9 |
T = st.number_input(
|
10 |
-
"Insert the number of years of your investment: "
|
|
|
11 |
)
|
12 |
|
13 |
y = A * (1 + (r/100))**T
|
|
|
7 |
"Insert the interest rate (nominal in %): "
|
8 |
)
|
9 |
T = st.number_input(
|
10 |
+
"Insert the number of years of your investment: ",
|
11 |
+
step=1
|
12 |
)
|
13 |
|
14 |
y = A * (1 + (r/100))**T
|