def place_queens(board, col): if col >= n: result.append(board[:]) return