parameters: (self, palindrome)
return_statement: return palindrome[:-1] + 'b' if len(palindrome) >= 2 else ""
docstring: :type palindrome: str
          :rtype: str
docstring_summary: :type palindrome: str
          :rtype: str
docstring_tokens: : type palindrome : str : rtype : str
function: def breakPalindrome(self, palindrome):
          """
          :type palindrome: str
          :rtype: str
          """
          for i in xrange(len(palindrome)//2):
              if palindrome[i] != 'a':
                  return palindrome[:i] + 'a' + palindrome[i+1:]
          return palindrome[:-1] + 'b' if len(palindrome) >= 2 else ""
function_tokens: def breakPalindrome ( self , palindrome ) : for i in xrange ( len ( palindrome ) // 2 ) : if palindrome [ i ] != 'a' : return palindrome [ : i ] + 'a' + palindrome [ i + 1 : ] return palindrome [ : - 1 ] + 'b' if len ( palindrome ) >= 2 else ""