original_docstring: Find position of numeric tail in alphanumeric string.
  
      e.g. findNumTailPos('abc678') = 3
docstring: Find position of numeric tail in alphanumeric string.
docstring_tokens: Find position of numeric tail in alphanumeric string .
code: def findNumTailPos(s):
      """Find position of numeric tail in alphanumeric string.
  
      e.g. findNumTailPos('abc678') = 3"""
      try:
          l = len(s)
          if l > 1:
              if s[-1] not in num_chars or s[0] in num_chars:
                  raise ValueError("Argument must be an alphanumeric string "
                                "starting with a letter and ending in a number")
              for i in range(1, l+1):
                  if s[-i] not in num_chars:
                      return l-i+1
          else:
              raise ValueError("Argument must be alphanumeric string starting "
                               "with a letter and ending in a number")
      except TypeError:
          raise ValueError("Argument must be alphanumeric string starting "
                               "with a letter and ending in a number")
code_tokens: def findNumTailPos ( s ) : try : l = len ( s ) if l > 1 : if s [ - 1 ] not in num_chars or s [ 0 ] in num_chars : raise ValueError ( "Argument must be an alphanumeric string " "starting with a letter and ending in a number" ) for i in range ( 1 , l + 1 ) : if s [ - i ] not in num_chars : return l - i + 1 else : raise ValueError ( "Argument must be alphanumeric string starting " "with a letter and ending in a number" ) except TypeError : raise ValueError ( "Argument must be alphanumeric string starting " "with a letter and ending in a number" )
short_docstring: Find position of numeric tail in alphanumeric string.
short_docstring_tokens: Find position of numeric tail in alphanumeric string .
comment: """Find position of numeric tail in alphanumeric string.
  
      e.g. findNumTailPos('abc678') = 3"""