def get_best_columns_number(venvs):
    max_width, _ = get_terminal_size()
    columns_number = 1
    for columns_number in range(1, len(venvs) + 1):
        rows = get_rows(venvs, columns_number)
        if max_width > max(map(row_len, rows)):
            return (columns_number - 1) or 1
    else:
        return columns_number
dataset/ETHPy150Open berdario/pew/pew/_print_utils.py/get_best_columns_number/swapped operands of `>`