Changed the docstring on line 13 to explain the

function.

I think these are an amazing feature in the coding process. It gives
me a tuch stone so I know exactly what I am looking at and how it works.
In the drawing project, I think these will be key to creating in bite sized pieces
and troubleshooting.
This commit is contained in:
Rebecca Hankey 2024-09-17 20:51:39 -04:00
parent fcee80c21e
commit 49f47f34e3
4 changed files with 2 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@ -11,7 +11,7 @@ def draw_tile_outline(size):
def draw_squiggle(size):
forward(size/4)
pencolor("black")
pencolor("red")
left(90)
quarter_arc_right(size/4)
quarter_arc_left(size/4)

View File

@ -9,8 +9,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.)
(Defines height and width for the size of the square. Then defines that after drawing tile, the turtle moves to starting posiiton as to not trace the same square.)
"""
for y in range(height):
for x in range(width):