結果 : palindrome program using function in python