<doocs>2108.Find First Palindromic String in the Array_1.py
def check(s):
    i, j = 0, len(s) - 1
    while i < j:
        if s[i] != s[j]:
            return False
        i += 1
        j -= 1
    return True
def sample_funcname ( var_0 ) :
    var_2 , var_5 = 0 , len ( var_0 ) - 1
    while var_2 < var_5 :
        if var_0 [ var_2 ] != var_0 [ var_5 ] :
            return False
        var_2 += 1
        var_5 -= 1
    return True
