Print the current state of the Tic-Tac-Toe board.
()
| 29 | |
| 30 | |
| 31 | def draw_board() -> None: |
| 32 | """Print the current state of the Tic-Tac-Toe board.""" |
| 33 | print(f" {board[1]} | {board[2]} | {board[3]}") |
| 34 | print("___|___|___") |
| 35 | print(f" {board[4]} | {board[5]} | {board[6]}") |
| 36 | print("___|___|___") |
| 37 | print(f" {board[7]} | {board[8]} | {board[9]}") |
| 38 | print(" | | ") |
| 39 | |
| 40 | |
| 41 | def check_position(b: List[str], pos: int) -> bool: |