Switch iterations with doors
Browse files
app.py
CHANGED
|
@@ -58,8 +58,8 @@ def simulate(iterations, no_of_doors):
|
|
| 58 |
return pd.DataFrame(data)
|
| 59 |
|
| 60 |
with st.form("Input"):
|
| 61 |
-
iterations = st.number_input("Enter number of iterations", value=100)
|
| 62 |
no_of_doors = st.number_input("Enter number of doors", value=3)
|
|
|
|
| 63 |
state = st.form_submit_button("Start", type="primary")
|
| 64 |
|
| 65 |
if state:
|
|
|
|
| 58 |
return pd.DataFrame(data)
|
| 59 |
|
| 60 |
with st.form("Input"):
|
|
|
|
| 61 |
no_of_doors = st.number_input("Enter number of doors", value=3)
|
| 62 |
+
iterations = st.number_input("Enter number of iterations", value=100)
|
| 63 |
state = st.form_submit_button("Start", type="primary")
|
| 64 |
|
| 65 |
if state:
|