generated from mwc/lab_iteration
I deleted you explanation and wrote what i belive the function does.
When I write my own program, I will use a docstrings because if I come back to the program later on, it will help me remeber what the specific code if for.
This commit is contained in:
@@ -10,7 +10,7 @@ from tile import fly
|
||||
def draw_tile_grid(width, height, tile_size, tile_function):
|
||||
"""Draws a (width x height) grid, with tile_function drawn on each tile.
|
||||
|
||||
(Your explanation here.)
|
||||
The function uses loops to draw the rows and coloums on each grid based on the width,height, and size.
|
||||
"""
|
||||
for y in range(height):
|
||||
for x in range(width):
|
||||
|
||||
Reference in New Issue
Block a user