1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-12-08 00:45:29 +01:00
programming-challenges/challenges/sudoku/solutions/python/function/application.py

12 lines
277 B
Python
Raw Permalink Normal View History

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)