Created a line in the title by creating a function and moving the turtle foward and back. I took out the squiggle function.

Checkpoint 3: Yes I do think I will use docstrings as it will help me provide space to write explain the meaning of the code along with what it is doing. They can be very useful.
This commit is contained in:
erbrown
2025-09-15 21:15:18 -04:00
parent 4cdcd61ee7
commit 3389e50b00
2 changed files with 7 additions and 20 deletions

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.)
(You give it a grid width, height, size(length) and function that does the drawing. It draws tiles goes to the left moves up a row and repeats all the rows from the height and width. The turtle then ends at the starting point.)
"""
for y in range(height):
for x in range(width):