Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente | |||
teaching:progappchim:game_of_life_conway-2012 [2021/03/09 11:27] – villersd | teaching:progappchim:game_of_life_conway-2012 [2021/03/09 11:29] (Version actuelle) – villersd | ||
---|---|---|---|
Ligne 19: | Ligne 19: | ||
Iain Haslam, June 2005. | Iain Haslam, June 2005. | ||
""" | """ | ||
- | from Tkinter | + | from tkinter |
import time | import time | ||
Ligne 95: | Ligne 95: | ||
for Cell in row: | for Cell in row: | ||
Cell.stepToNextState() | Cell.stepToNextState() | ||
- | print self.calc() | + | print(self.calc()) |
| | ||
def clear(self): | def clear(self): |