結果 : palindrome using function in python