From: Vincent Le Gallic Date: Thu, 23 Jan 2014 14:06:11 +0000 (+0100) Subject: On passe en config "sudoku basique" X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=ecbca7ef92ac10c48b173f9b75f902ac14336a9d;p=sudoku.git On passe en config "sudoku basique" --- diff --git a/sudoku.py b/sudoku.py index 666110e..72cd551 100755 --- a/sudoku.py +++ b/sudoku.py @@ -204,9 +204,9 @@ if __name__ == "__main__": samurai = sudoku_types.Samurai() #values = [i for i in sudoku_types.examples.hard] #values = [i for i in "0"*369] - #values = quick_input() - values = [i for i in sudoku_types.examples.samurai] - g = Grid(samurai, values) + values = quick_input() + #values = [i for i in sudoku_types.examples.samurai] + g = Grid(basic, values) print g raw_input("\ngo ?") g.solve()