1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-11-09 22:08:58 +01:00
programming-challenges/challenges/sudoku/solutions/python/function/application.py

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)