aashwinik commited on
Commit
b13feb5
·
verified ·
1 Parent(s): b4b907f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -17,7 +17,9 @@ def validate_userInput(user_input):
17
  #user_input = int(user_input)
18
  if int(user_input) >= 1 and int(user_input) <= 9:
19
  if int(user_input) in st.session_state.legal_numbers:
20
- return True
 
 
21
  else:
22
  #st.write("input is not between 1 and 9 " + user_input)
23
  return False
 
17
  #user_input = int(user_input)
18
  if int(user_input) >= 1 and int(user_input) <= 9:
19
  if int(user_input) in st.session_state.legal_numbers:
20
+ return True
21
+ else:
22
+ return False
23
  else:
24
  #st.write("input is not between 1 and 9 " + user_input)
25
  return False