Sina Media Lab
commited on
Commit
·
bcfde53
1
Parent(s):
4b333fb
Updates
Browse files
app.py
CHANGED
@@ -183,6 +183,9 @@ if submit_button:
|
|
183 |
else:
|
184 |
st.session_state.submit_click_count += 1
|
185 |
|
|
|
|
|
|
|
186 |
if st.session_state.submit_click_count == 1:
|
187 |
# First click: show solution
|
188 |
if not current_question['answered']:
|
|
|
183 |
else:
|
184 |
st.session_state.submit_click_count += 1
|
185 |
|
186 |
+
# Show the number of times the Submit/Next button is clicked
|
187 |
+
st.write(f"Submit/Next button clicked {st.session_state.submit_click_count} time(s).")
|
188 |
+
|
189 |
if st.session_state.submit_click_count == 1:
|
190 |
# First click: show solution
|
191 |
if not current_question['answered']:
|