結果 : given string palindrome or not in python