<qiyuangong>296_Best_Meeting_Point_3.py
def collectRows( grid):
    rows = []
    for i in range(len(grid)):
        for j in range(len(grid[0])):
            if grid[i][j] == 1:
                rows.append(i)
    return rows
def sample_funcname ( var_0 ) :
    var_1 = [ ]
    for var_4 in range ( len ( var_0 ) ) :
        for var_6 in range ( len ( var_0 [ 0 ] ) ) :
            if var_0 [ var_4 ] [ var_6 ] == 1 :
                var_1.append ( var_4 )
    return var_1
