PongsakornSET commited on
Commit
2c74110
·
verified ·
1 Parent(s): 3184324

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -37,8 +37,7 @@ selected_answer = st.radio("เลือกคำตอบของคุณ:",
37
 
38
  # Check answer and show the result
39
  if not st.session_state.answered and st.button("ตรวจคำตอบ"):
40
- st
41
- .session_state.answered = True
42
  if selected_answer == correct_answer:
43
  st.success("ถูกต้อง!")
44
  else:
 
37
 
38
  # Check answer and show the result
39
  if not st.session_state.answered and st.button("ตรวจคำตอบ"):
40
+ st.session_state.answered = True
 
41
  if selected_answer == correct_answer:
42
  st.success("ถูกต้อง!")
43
  else: