def visualize_board(board):
    for row in board:
        for col in row:
            val = 'Q' if col else '#'
            print(val, end='')
        print('\n')
    print('-------------------------')


def visualize(paths):
    print('===============================')
    for board in paths:
        visualize_board(board)
    print('===============================')

d1db169222333ddf4386dce76e58e8bbfb18e3f4
<mask token>

<mask token>


def visualize(paths):
    print('===============================')
    for board in paths:
        visualize_board(board)
    print('===============================')

def visualize_board(board):
    for row in board:
        for col in row:
            val = 'Q' if col else '#'
            print(val, end='')
        print('\n')
    print('-------------------------')


def visualize(paths):
    print('===============================')
    for board in paths:
        visualize_board(board)
    print('===============================')
