結果 : palindrome or not in python code