Spaces:
Sleeping
Sleeping
Commit
•
fdd2896
1
Parent(s):
e6423d0
Update exercises/cut_off.py
Browse filesReplaced text input with Radio buttons for Question 3
- exercises/cut_off.py +4 -2
exercises/cut_off.py
CHANGED
@@ -135,8 +135,10 @@ def cut_off():
|
|
135 |
st.markdown("## Question 3: Sensitivities")
|
136 |
st.write("")
|
137 |
st.markdown("### By Adjusting the various input parameters given below, comment on the following:")
|
138 |
-
st.text_area("1. What copper price results in a revenue which is double the break-even cut-off grade", height=5, key='tt1')
|
139 |
-
st.
|
|
|
|
|
140 |
st.write("")
|
141 |
adjust_calculation(df.copy())
|
142 |
|
|
|
135 |
st.markdown("## Question 3: Sensitivities")
|
136 |
st.write("")
|
137 |
st.markdown("### By Adjusting the various input parameters given below, comment on the following:")
|
138 |
+
# st.text_area("1. What copper price results in a revenue which is double the break-even cut-off grade", height=5, key='tt1')
|
139 |
+
st.radio("1. What copper price results in a revenue which is double the break-even cut-off grade", ['$3.25', '$2.00', '$9.00', '$7.50'], key='tt1')
|
140 |
+
# st.text_area("2. What copper grade results in a revenue which is double the break-even cut-off grade", height=5, key='tt2')
|
141 |
+
st.radio("2. What copper grade results in a revenue which is double the break-even cut-off grade", ['0.2%', '0.9%', '2.4%', '4.0%'], key='tt2')
|
142 |
st.write("")
|
143 |
adjust_calculation(df.copy())
|
144 |
|