comefrom: <qiyuangong>249_Group_Shifted_Strings_1.py
code: def hashCode( string):
      if string is None or len(string) == 0:
          return ''
      if len(string) == 1:
          return 'a'
      step = abs(ord(string[0]) - ord('a'))
      if step == 0:
          return string
      key = 'a'
      for ch in string[1:]:
          curr = ord(ch) - step
          if ord(ch) - step < ord('a'):
              curr += 26
          key += chr(curr)
      return key
masked: def sample_funcname ( var_0 ) :
      if var_0 is None or len ( var_0 ) == 0 :
          return ''
      if len ( var_0 ) == 1 :
          return 'a'
      var_9 = abs ( ord ( var_0 [ 0 ] ) - ord ( 'a' ) )
      if var_9 == 0 :
          return var_0
      var_10 = 'a'
      for var_11 in var_0 [ 1 : ] :
          var_12 = ord ( var_11 ) - var_9
          if ord ( var_11 ) - var_9 < ord ( 'a' ) :
              var_12 += 26
          var_10 += chr ( var_12 )
      return var_10
  