This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Board = List[List[bool]] | |
def print_board(board: Board) -> None: | |
for row in board: | |
for space in row: | |
print('Q' if space else '.', end='') | |
print() | |
print() | |
def create_board(n: int) -> Board: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
girder | |
LogFormatter | |
format | |
formatException | |
LogLevelFilter | |
filter | |
StreamToLogger | |
write | |
api | |
access |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
############################################################################### | |
# Copyright Kitware Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 ( the "License" ); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |