We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dcecb9 commit acf2d2cCopy full SHA for acf2d2c
1 file changed
cellular_automata/elementary_cellular_automaton.py
@@ -18,7 +18,8 @@ def rule_30_step(current: list[int]) -> list[int]:
18
Each cell's next state is determined by its left, center, and right neighbors.
19
20
Args:
21
- current (list[int]): The current generation as a list of 0s (dead) and 1s (alive).
+ current (list[int]): The current generation as a list of 0s (dead)
22
+ and 1s (alive).
23
24
Returns:
25
list[int]: The next generation as a list of 0s and 1s.
0 commit comments