X-Git-Url: http://gitweb.pimeys.fr/?a=blobdiff_plain;f=sudoku.py;h=71dd6de16a94743aed0fb9282b1d564db708af17;hb=0884c3957c6854ffbbb9b388f1eadce016bc2181;hp=c893bce8699fcb06c222de4920950b2f33e2f19c;hpb=bf9d28609ea65fd320add7e2af4ff941dd5781e7;p=sudoku.git 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