<garvit244>1018_1.py
def prefixesDivBy5( A):
    result = []
    if not A:
        return []
    str_bin = ''
    for val in A:
        str_bin += str(val)
        if(int(str_bin, 2)%5 == 0):
            result.append(True)
        else:
            result.append(False)
    return result
def sample_funcname ( var_0 ) :
    var_1 = [ ]
    if not var_0 :
        return [ ]
    var_3 = ''
    for var_4 in var_0 :
        var_3 += str ( var_4 )
        if ( int ( var_3 , 2 ) % 5 == 0 ) :
            var_1.append ( True )
        else :
            var_1.append ( False )
    return var_1
