X-Git-Url: http://gitweb.pimeys.fr/?p=sudoku.git;a=blobdiff_plain;f=sudoku.py;h=71dd6de16a94743aed0fb9282b1d564db708af17;hp=c893bce8699fcb06c222de4920950b2f33e2f19c;hb=0884c3957c6854ffbbb9b388f1eadce016bc2181;hpb=48d5ec7449f8a036c74c4d6a70962916fc742221 diff --git a/sudoku.py b/sudoku.py index c893bce..71dd6de 100755 --- a/sudoku.py +++ b/sudoku.py @@ -44,6 +44,8 @@ class Grid(object): """Affiche la valeur de la profondeur d'hypothèse si on n'a jamais atteint ce niveau""" global DEPTH if self.depth > DEPTH: + # On affiche l'état avant de faire l'hypothèse + print self print "Profondeur : %s" % self.depth DEPTH += 1