結果 : check if string palindrome python