generated from mwc/lab_iteration
No.
It was irritating that it didnt count the last number, for example if i gave it 100 counting by 5 it would stop at 95. Maybe. Normally i run solo for everything so i wouldnt find much use but i might use it if i want to share my code with friends or family.
This commit is contained in:
@@ -10,7 +10,8 @@ from tile import fly
|
|||||||
def draw_tile_grid(width, height, tile_size, tile_function):
|
def draw_tile_grid(width, height, tile_size, tile_function):
|
||||||
"""Draws a (width x height) grid, with tile_function drawn on each tile.
|
"""Draws a (width x height) grid, with tile_function drawn on each tile.
|
||||||
|
|
||||||
(Your explanation here.)
|
(This function draws the grid which has the tile pattern inside of it by the user selecting a size and then it maps the grid or
|
||||||
|
pattern that the user wants.)
|
||||||
"""
|
"""
|
||||||
for y in range(height):
|
for y in range(height):
|
||||||
for x in range(width):
|
for x in range(width):
|
||||||
|
|||||||
Reference in New Issue
Block a user