Skip to content

Commit acf2d2c

Browse files
authored
Update elementary_cellular_automaton.py
1 parent 4dcecb9 commit acf2d2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cellular_automata/elementary_cellular_automaton.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ def rule_30_step(current: list[int]) -> list[int]:
1818
Each cell's next state is determined by its left, center, and right neighbors.
1919
2020
Args:
21-
current (list[int]): The current generation as a list of 0s (dead) and 1s (alive).
21+
current (list[int]): The current generation as a list of 0s (dead)
22+
and 1s (alive).
2223
2324
Returns:
2425
list[int]: The next generation as a list of 0s and 1s.

0 commit comments

Comments
 (0)