def isPalindrome(s):
    # change all characters to lower, and add to list if i is alpha numeric
    newString = [i.lower() for i in s if i.isalnum()]
    return newString == newString[::-1]
       

s = "A man, a plan, a canal: Panama"
print(isPalindrome(s))
0f9062e52ccd23b96cebde33b1eda1d7047ed5c6
<mask token>

def isPalindrome(s):
    newString = [i.lower() for i in s if i.isalnum()]
    return newString == newString[::-1]


<mask token>

def isPalindrome(s):
    newString = [i.lower() for i in s if i.isalnum()]
    return newString == newString[::-1]


<mask token>
print(isPalindrome(s))

def isPalindrome(s):
    newString = [i.lower() for i in s if i.isalnum()]
    return newString == newString[::-1]


s = 'A man, a plan, a canal: Panama'
print(isPalindrome(s))

def isPalindrome(s):
    # change all characters to lower, and add to list if i is alpha numeric
    newString = [i.lower() for i in s if i.isalnum()]
    return newString == newString[::-1]
       

s = "A man, a plan, a canal: Panama"
print(isPalindrome(s))