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:
juddin2
2025-09-14 16:22:26 -04:00
parent 19f0bb5fc3
commit 32279f4fb8
2 changed files with 2 additions and 2 deletions

View File

@@ -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):

View File

@@ -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):