結果 : palindrome in python using if else