Skip to content

Instantly share code, notes, and snippets.

@boyarsky
boyarsky / Python sudoku checker
Created July 12, 2012 23:22
Boyarsky - Python cs 358
# SPECIFICATION:
#
# check_sudoku() determines whether its argument is a valid Sudoku
# grid. It can handle grids that are completely filled in, and also
# grids that hold some empty cells where the player has not yet
# written numbers.
#
# First, your code must do some sanity checking to make sure that its
# argument:
#