code: def expandFromCenter(self, s, left, right) -> str:
      while right < len(s) and left >= 0 and s[left] == s[right]:
          left -= 1
          right += 1
  
      return s[left + 1 : right]
  
label_desc: Use image node_id 2 for calling the Solution obj's underlying member method code with example usage: obj.expandFromCenter(s, left, right) and returns: s