Return True if the board has no free spaces.
(board: List[str])
| 167 | |
| 168 | |
| 169 | def is_board_full(board: List[str]) -> bool: |
| 170 | """Return True if the board has no free spaces.""" |
| 171 | return all(not is_space_free(board, i) for i in range(1, 10)) |
| 172 | |
| 173 | |
| 174 | def main() -> None: |