<s> """<STR_LIT>""" <EOL> __author__ = '<STR_LIT>' <EOL> class Solution ( object ) : <EOL> def isPalindrome ( self , s ) : <EOL> """<STR_LIT>""" <EOL> s = s . lower ( ) <EOL> s = '<STR_LIT>' . join ( e for e in s if e . isalnum ( ) ) <EOL> if not s : <EOL> return True <EOL> return s == s [ : : - <NUM_LIT:1> ] </s>
