Python easy solution
\nclass Solution:\n    def breakPalindrome(self, p: str) -> str:\n        if len(p)==1:return ""\n        l=list(p)\n        for x in range(len(l)//2):\n       
```\nclass Solution:\n    def breakPalindrome(self, p: str) -> str:\n        if len(p)==1:return ""\n        l=list(p)\n        for x in range(len(l)//2):\n            if l[x]!=\'a\':\n                l[x]=\'a\'\n                return \'\'.join(l)\n        l[-1]=\'b\'\n        return \'\'.join(l)\n```
['Python']