Skip to content

Commit 8554b71

Browse files
Update cellular_automata/wa_tor.py
Co-authored-by: Tianyi Zheng <[email protected]>
1 parent 9f23c25 commit 8554b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cellular_automata/wa_tor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def display_visually(wt: WaTor, iter_number: int, *, colour: bool = True) -> Non
540540
<BLANKLINE>
541541
Iteration: 0 | Prey count: 2 | Predator count: 3 |
542542
"""
543-
if colour is True:
543+
if colour:
544544
__import__("os").system("")
545545
print("\x1b[0;0H\x1b[2J\x1b[?25l")
546546

0 commit comments

Comments
 (0)