結果 : valid palindrome leetcode python solution