def is_pal(entry):
    mid =  (len(entry)) // 2
    for i in range(mid):
        if entry[i] != entry[-(i+1)]:
            return False
    return True
    
print(is_pal('anna'))

b501438eb6dcb36f3d861fef32b0c8898a831e56
<mask token>

def is_pal(entry):
    mid = len(entry) // 2
    for i in range(mid):
        if entry[i] != entry[-(i + 1)]:
            return False
    return True


<mask token>

def is_pal(entry):
    mid = len(entry) // 2
    for i in range(mid):
        if entry[i] != entry[-(i + 1)]:
            return False
    return True


print(is_pal('anna'))

def is_pal(entry):
    mid =  (len(entry)) // 2
    for i in range(mid):
        if entry[i] != entry[-(i+1)]:
            return False
    return True
    
print(is_pal('anna'))
