<filename>Python/125valid_palindrome.py<gh_stars>1-10
class Solution:
    def isPalindrome(self, s):
        """
        :type s: str
        :rtype: bool
        """
        slist = [word.lower() for word in s if word.isalnum()]
        return slist == slist[::-1]

<filename>Python/125valid_palindrome.py<gh_stars>1-10
class Solution:
    def isPalindrome(self, s):
        """
        :type s: str
        :rtype: bool
        """
        slist = [word.lower() for word in s if word.isalnum()]
        return slist == slist[::-1]

:type s: str         :rtype: bool