For Checkpoint 3 I added in the coordinates used for the

code. To me, this provided more information for thereader.

I thinkI would use docstrings. They are helpful because they put what the code does info
"laymans" terms.
This commit is contained in:
Heather
2025-10-04 17:52:01 -04:00
parent 4bae8094d3
commit 438ca9f024
3 changed files with 17 additions and 6 deletions

View File

@@ -10,8 +10,10 @@ 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.)
Draws a (width x height) grid using x, y coordinates, with tile_function drawn on each
tile )
"""
for y in range(height):
for x in range(width):
tile_function(tile_size)