4 Commits

Author SHA1 Message Date
erbrown
3389e50b00 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.
2025-09-15 21:15:18 -04:00
erbrown
4cdcd61ee7 added three for loop statements using the range command
Checkpoint 2: I understand the range command well. Using this command the first value is the starting point, second value is the end point, third value is the step. This command creates a list - like object. I wonder how I could use this command in other assignments and if it is useful!
2025-09-14 16:29:34 -04:00
erbrown
9ee9e17edb created a list and for loop statement using forward and right once rather than four times. Added penup, pendown, and adjusted sizes list.
Checkpoint 1: It was not super difficult trying to rewrite the square() using a for - loop. I have taken a computer science course already so I am a little familiar with the for - loop statements. At first I did use the in range (4) command from my background knowledge of computer science but then after I adjusted my sizes = [20,20,20,20] to create the four boxes, I realized I could create a list that would represent the four sides of a square to use the list iteration and for loop after the list. Figuring out the second part of the problem was helpful for me to figure out the top part instead of using the in range () command.
2025-09-14 16:03:30 -04:00
9705646064 Initial commit 2025-08-31 23:50:46 +00:00