X-Git-Url: http://gitweb.pimeys.fr/?a=blobdiff_plain;f=sudoku.py;h=72cd55131d2db3a14db039489f1e80e8ea032ac6;hb=ecbca7ef92ac10c48b173f9b75f902ac14336a9d;hp=71dd6de16a94743aed0fb9282b1d564db708af17;hpb=0884c3957c6854ffbbb9b388f1eadce016bc2181;p=sudoku.git diff --git a/sudoku.py b/sudoku.py index 71dd6de..72cd551 100755 --- a/sudoku.py +++ b/sudoku.py @@ -204,11 +204,10 @@ 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() print g -