結果 : python program to check palindrome using function