Lesson 4

Expanding on Circles


On line 42 we will code our turtle to make a semi-circle. This will require changing two of the three parameters we talked about in the previous lesson

Add the following code: turtley.circle(100, 180) .

Next, we will work with the last remaining parameter, the Steps

On line 46 add the following code turtley.circle(100,None,8). Since we do not need to change the Extent, we fill that slot with None

We can take this one step further by adding in some color. As seen in the image to the side, we can incorporater the turtley.begin_fill() and turtley.end_fill()to give our shape some color