結果 : check palindrome python for loop