comefrom: <doocs>1544.Make The String Great_1.py
code: def makeGood( s: str) -> str:
      stk = []
      for c in s:
          if not stk or abs(ord(stk[-1]) - ord(c)) != 32:
              stk.append(c)
          else:
              stk.pop()
      return "".join(stk)
masked: def sample_funcname ( var_0 : str ) -> str :
      var_2 = [ ]
      for var_3 in var_0 :
          if not var_2 or abs ( ord ( var_2 [ - 1 ] ) - ord ( var_3 ) ) != 32 :
              var_2.append ( var_3 )
          else :
              var_2.pop ( )
      return "".join ( var_2 )
  