permute to make palindrome in python code example Example: python palindrome def palindrome(a): return a == a[::-1] palindrome('radar') # True