comefrom: <qiyuangong>131_Palindrome_Partitioning_1.py
code: def isPalindrome( s, begin, end):
      while begin < end:
          if s[begin] != s[end]:
              return False
          begin += 1
          end -= 1
      return True
masked: def sample_funcname ( var_0 , var_1 , var_2 ) :
      while var_1 < var_2 :
          if var_0 [ var_1 ] != var_0 [ var_2 ] :
              return False
          var_1 += 1
          var_2 -= 1
      return True
  