mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-12-08 00:45:29 +01:00
12 lines
277 B
Python
12 lines
277 B
Python
from Sudoku import Sudoku
|
|
from example import grid
|
|
|
|
sudoku = Sudoku(grid)
|
|
|
|
print(f'\nSudoku | is_solved = {sudoku.is_solved()}\n')
|
|
print(sudoku)
|
|
print('-------------------------------------\n')
|
|
sudoku.solve()
|
|
print(f'Sudoku | is_solved = {sudoku.is_solved()}\n')
|
|
print(sudoku)
|