fix bug in animate day6

This commit is contained in:
Dmitry Fedotov
2024-12-16 00:02:33 +03:00
parent 62bb06578c
commit c11a5ed460
2 changed files with 4 additions and 2 deletions

View File

@@ -137,7 +137,10 @@ class Lab(object):
cls()
print(self)
while self.next():
while True:
ok, cyccled = self.next()
if not ok:
break
cls()
print(self)
print(self.cycles)