Python Simple Code
\n# Code\n\nclass Solution(object):\n    def makeSmallestPalindrome(self, s):\n        """\n        :type s: str\n        :rtype: str\n        """\n        i = 
\n# Code\n```\nclass Solution(object):\n    def makeSmallestPalindrome(self, s):\n        """\n        :type s: str\n        :rtype: str\n        """\n        i = 0\n        j = len(s)-1\n\n        s = list(s)\n        while i <j:\n\n            if s[i]!=s[j]:\n                if s[i]<s[j]:\n                    s[j] = s[i]\n                elif s[i]>s[j]:\n                    s[i] = s[j]\n            i+=1\n            j-=1\n\n        return \'\'.join(s)\n\n```
['Python']