<garvit244>05_2.py
def expand(s, left, right):
    while left >= 0 and right < len(s) and s[left] == s[right]:
        left -= 1
        right += 1
    return right-left-1
def sample_funcname ( var_0 , var_1 , var_2 ) :
    while var_1 >= 0 and var_2 < len ( var_0 ) and var_0 [ var_1 ] == var_0 [ var_2 ] :
        var_1 -= 1
        var_2 += 1
    return var_2 - var_1 - 1
