<doocs>2184.Number of Ways to Build Sturdy Brick Wall_1.py
def check(a, b):
    s1, s2 = a[0], b[0]
    i = j = 1
    while i < len(a) and j < len(b):
        if s1 == s2:
            return False
        if s1 < s2:
            s1 += a[i]
            i += 1
        else:
            s2 += b[j]
            j += 1
    return True
def sample_funcname ( var_0 , var_1 ) :
    var_3 , var_4 = var_0 [ 0 ] , var_1 [ 0 ]
    var_7 = var_5 = 1
    while var_7 < len ( var_0 ) and var_5 < len ( var_1 ) :
        if var_3 == var_4 :
            return False
        if var_3 < var_4 :
            var_3 += var_0 [ var_7 ]
            var_7 += 1
        else :
            var_4 += var_1 [ var_5 ]
            var_5 += 1
    return True
