mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 15:01:08 +00:00
[mypy] Add missing type annotation in conways_game_of_life.py (#5490)
This commit is contained in:
parent
57a7e5738b
commit
83a63d9c22
|
@ -70,7 +70,7 @@ def new_generation(cells: list[list[int]]) -> list[list[int]]:
|
|||
return next_generation
|
||||
|
||||
|
||||
def generate_images(cells: list[list[int]], frames) -> list[Image.Image]:
|
||||
def generate_images(cells: list[list[int]], frames: int) -> list[Image.Image]:
|
||||
"""
|
||||
Generates a list of images of subsequent Game of Life states.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user