comefrom: <doocs>0058.Length of Last Word_1.py
code: def lengthOfLastWord( s: str) -> int:
      last_word_length = 0
      meet_word = False
      for i in range(len(s) - 1, -1, -1):
          ch = ord(s[i])
          if ch >= 65 and ch <= 122:
              meet_word = True
              last_word_length += 1
          elif meet_word:
              break
      return last_word_length
masked: def sample_funcname ( var_0 : str ) -> int :
      var_4 = 0
      var_6 = False
      for var_10 in range ( len ( var_0 ) - 1 , - 1 , - 1 ) :
          var_12 = ord ( var_0 [ var_10 ] )
          if var_12 >= 65 and var_12 <= 122 :
              var_6 = True
              var_4 += 1
          elif var_6 :
              break
      return var_4
  