aashwinik commited on
Commit
68900aa
·
verified ·
1 Parent(s): da21713

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def get_userInput():
14
  return input
15
 
16
  def validate_userInput(user_input):
17
- if user_input.isdigit():
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
 
14
  return input
15
 
16
  def validate_userInput(user_input):
17
+ if int(user_input).isdigit():
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