3 ms·
The code is missing one of the "groups". There should be 27 (one for each of the 9 rows, columns and 3x3 squares), but there are only 26. The missing one is the
by greenyoda 14y ago
The code is missing one of the "groups". There should be 27 (one for each of the 9 rows, columns and 3x3 squares), but there are only 26. The missing one is the column [8 ... 80].
Probably the most famous Sudoku program is Peter Norvig's, also written in Python:
http://www.norvig.com/sudoku.html http://www.norvig.com/sudoku.html
- john_p 14y agoGood catch... I've changed already.. thx