<garvit244>73_1.py
def setZeroes( matrix):
    col0 = 1
    for row in range(len(matrix)):
        if matrix[row][0] == 0:
            col0 = 0
        for col in range(1, len(matrix[0])):
            if matrix[row][col] == 0:
                matrix[row][0] = 0
                matrix[0][col] = 0
    for row in range(len(matrix)-1, -1, -1):
        for col in range(len(matrix[0])-1, 0, -1):
            if matrix[row][0] == 0 or matrix[0][col] == 0:
                matrix[row][col] = 0
        if col0 == 0:
            matrix[row][0] = 0
def sample_funcname ( var_0 ) :
    var_2 = 1
    for var_5 in range ( len ( var_0 ) ) :
        if var_0 [ var_5 ] [ 0 ] == 0 :
            var_2 = 0
        for var_7 in range ( 1 , len ( var_0 [ 0 ] ) ) :
            if var_0 [ var_5 ] [ var_7 ] == 0 :
                var_0 [ var_5 ] [ 0 ] = 0
                var_0 [ 0 ] [ var_7 ] = 0
    for var_5 in range ( len ( var_0 ) - 1 , - 1 , - 1 ) :
        for var_7 in range ( len ( var_0 [ 0 ] ) - 1 , 0 , - 1 ) :
            if var_0 [ var_5 ] [ 0 ] == 0 or var_0 [ 0 ] [ var_7 ] == 0 :
                var_0 [ var_5 ] [ var_7 ] = 0
        if var_2 == 0 :
            var_0 [ var_5 ] [ 0 ] = 0
