(bo)
| 54 | |
| 55 | |
| 56 | def print_board(bo): |
| 57 | for i in range(len(bo)): |
| 58 | if i % 3 == 0 and i != 0: |
| 59 | print("- - - - - - - - - - - - - ") |
| 60 | |
| 61 | for j in range(len(bo[0])): |
| 62 | if j % 3 == 0 and j != 0: |
| 63 | print(" | ", end="") |
| 64 | |
| 65 | if j == 8: |
| 66 | print(bo[i][j]) |
| 67 | else: |
| 68 | print(str(bo[i][j]) + " ", end="") |
| 69 | |
| 70 | |
| 71 | def find_empty(bo): |