From 32279f4fb8cd17f7a4d5758ba1d0b902c4535b9d Mon Sep 17 00:00:00 2001 From: juddin2 Date: Sun, 14 Sep 2025 16:22:26 -0400 Subject: [PATCH] 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. --- tile.py | 2 +- tile_grid.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tile.py b/tile.py index 697cf8e..b45c17c 100644 --- a/tile.py +++ b/tile.py @@ -6,7 +6,7 @@ def draw_tile(size): draw_squiggle(size) def draw_tile_outline(size): - pencolor("#dddddd") + pencolor("#2f5da3") square(size) def draw_squiggle(size): diff --git a/tile_grid.py b/tile_grid.py index 72a0f43..5a462ba 100644 --- a/tile_grid.py +++ b/tile_grid.py @@ -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):