ceejaytheanalyst commited on
Commit
c4db698
·
verified ·
1 Parent(s): 8a61041

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,9 +19,9 @@ def validate_input(input_string):
19
 
20
  # Check if input contains at least one non-numeric character
21
  if re.match(pattern, input_string) or input_string.isdigit():
22
- return False
23
- else:
24
  return True
 
 
25
 
26
  # Define the function for mapping code
27
  def mapping_code(user_input):
 
19
 
20
  # Check if input contains at least one non-numeric character
21
  if re.match(pattern, input_string) or input_string.isdigit():
 
 
22
  return True
23
+ else:
24
+ return False
25
 
26
  # Define the function for mapping code
27
  def mapping_code(user_input):