<qiyuangong>296_Best_Meeting_Point_4.py
def collectCols( grid):
    cols = []
    for j in range(len(grid[0])):
        for i in range(len(grid)):
            if grid[i][j] == 1:
                cols.append(j)
    return cols
def sample_funcname ( var_0 ) :
    var_1 = [ ]
    for var_5 in range ( len ( var_0 [ 0 ] ) ) :
        for var_6 in range ( len ( var_0 ) ) :
            if var_0 [ var_6 ] [ var_5 ] == 1 :
                var_1.append ( var_5 )
    return var_1
