<garvit244>1089_1.py
def duplicateZeros( arr):
    arr_copy = arr[:]
    index, n = 0, len(arr_copy)
    for elem in arr_copy:
        arr[index] = elem
        index += 1
        if index >= n:
            break
        if elem == 0:
            arr[index] = elem
            index += 1
            if index >= n:
                break
def sample_funcname ( var_0 ) :
    var_1 = var_0 [ : ]
    var_3 , var_5 = 0 , len ( var_1 )
    for var_6 in var_1 :
        var_0 [ var_3 ] = var_6
        var_3 += 1
        if var_3 >= var_5 :
            break
        if var_6 == 0 :
            var_0 [ var_3 ] = var_6
            var_3 += 1
            if var_3 >= var_5 :
                break
