結果 : palindrome in python using def function