comefrom: <doocs>2330.Valid Palindrome IV_1.py
code: def makePalindrome( s: str) -> bool:
      i, j = 0, len(s) - 1
      t = 0
      while i < j:
          if s[i] != s[j]:
              t += 1
          i, j = i + 1, j - 1
      return t <= 2
masked: def sample_funcname ( var_0 : str ) -> bool :
      var_4 , var_7 = 0 , len ( var_0 ) - 1
      var_8 = 0
      while var_4 < var_7 :
          if var_0 [ var_4 ] != var_0 [ var_7 ] :
              var_8 += 1
          var_4 , var_7 = var_4 + 1 , var_7 - 1
      return var_8 <= 2
  