jeffsieu / py-sudoku

A Python Sudoku solver
https://pypi.org/project/py-sudoku
MIT License
81 stars 23 forks source link

Raise exception if puzzle is not solvable #2

Closed Kaligule closed 3 years ago

Kaligule commented 3 years ago

It would be great if solving an unsolvable puzzle would lead to an machine-readable exception. Currently the only thing that happens is that a string is printed out.