結果 : check if palindrome python