結果 : palindrome method in python