<jupyter_start><jupyter_text>Using our Sudoku solver functions, we try to solve different puzzles from Easy to Expert in difficulty<jupyter_code>### importing functions ###

from sudoku_solver import *
### sudoku boards ###

# easy board
sudoku_easy = [
    [9, 0, 6, 0, 7, 0, 0, 0, 0],
    [0, 0, 0, 2, 0, 0, 0, 9, 0],
    [8, 5, 1, 0, 0, 9, 7, 0, 0],
    [5, 6, 0, 0, 2, 0, 9, 0, 3],
    [0, 0, 0, 0, 1, 0, 6, 8, 0],
    [0, 0, 7, 6, 0, 0, 2, 0, 4],
    [0, 1, 9, 0, 0, 4, 0, 3, 8],
    [7, 0, 4, 5, 0, 8, 1, 6, 0],
    [0, 8, 5, 0, 3, 0, 4, 7, 0]
    ]

# expert board
sudoku_expert = [
    [0, 8, 0, 0, 0, 0, 9, 0, 0],
    [0, 0, 0, 7, 0, 0, 1, 0, 0],
    [0, 0, 6, 0, 0, 2, 0, 0, 4],
    [7, 5, 0, 0, 0, 9, 0, 0, 0],
    [0, 0, 0, 0, 0, 0, 0, 0, 6],
    [0, 0, 9, 0, 4, 8, 0, 0, 3],
    [0, 4, 8, 0, 0, 0, 0, 3, 0],
    [0, 0, 0, 0, 1, 0, 0, 0, 0],
    [0, 3, 0, 5, 0, 0, 8, 0, 0]
    ]
### solving easy Sudoku ###

print_board(sudoku_easy)
solve_board(sudoku_easy)
print_board(sudoku_easy)
### solving expert Sudoku ###

print_board(sudoku_expert)
solve_board(sudoku_expert)
print_board(sudoku_expert)<jupyter_output>- - - - - - - - - - - - - 
| 0 8 0 | 0 0 0 | 9 0 0 |
| 0 0 0 | 7 0 0 | 1 0 0 |
| 0 0 6 | 0 0 2 | 0 0 4 |
- - - - - - - - - - - - - 
| 7 5 0 | 0 0 9 | 0 0 0 |
| 0 0 0 | 0 0 0 | 0 0 6 |
| 0 0 9 | 0 4 8 | 0 0 3 |
- - - - - - - - - - - - - 
| 0 4 8 | 0 0 0 | 0 3 0 |
| 0 0 0 | 0 1 0 | 0 0 0 |
| 0 3 0 | 5 0 0 | 8 0 0 |
- - - - - - - - - - - - - 
- - - - - - - - - - - - - 
| 3 8 7 | 4 5 1 | 9 6 2 |
| 4 9 2 | 7 3 6 | 1 8 5 |
| 5 1 6 | 9 8 2 | 3 7 4 |
- - - - - - - - - - - - - 
| 7 5 4 | 3 6 9 | 2 1 8 |
| 8 2 3 | 1 7 5 | 4 9 6 |
| 1 6 9 | 2 4 8 | 7 5 3 |
- - - - - - - - - - - - - 
| 9 4 8 | 6 2 7 | 5 3 1 |
| 2 7 5 | 8 1 3 | 6 4 9 |
| 6 3 1 | 5 9 4 | 8 2 7 |
- - - - - - - - - - - - -
StarcoderdataJupyterStructuredCleanDedup