python turtle graphics already seen that you can control one of these properties using the pencolor(methodother methods are used to control the cursor (or turtleand are presented below the direction in which the cursor is pointing can be altered using several functions includingright(angleturn cursor right by angle units left(angleturn the cursor left by angle units setheading(to_angleset the orientation of the cursor to to_angle where is east is north is west and is south you can move the cursor (and if the pen is down this will draw lineusingforward(distancemove the cursor forward by the specified distance in the direction that the cursor is currently pointing if the pen is down then draw line backward(distancemove the cursor backward by distance in the opposite direction that in which the cursor is pointing and you can also explicitly position the cursorgoto(xymove the cursor to the xy location on the screen specifiedif the pen is down draw line you can also use steps and set position to do the same thing setx(xsets the cursor' coordinateleaves the coordinate unchanged sety(ysets the cursor' coordinateleaves the coordinate unchanged it is also possible to move the cursor without drawing by modifying whether the pen is up or downpenup(move the pen up--moving the cursor will no longer draw line pendown(move the pen down--moving the cursor will now draw line in the current pen colour the size of the pen can also be controlledpensize(widthset the line thickness to width the method width(is an alias for this method it is also possible to draw circle or dotcircle(radiusextentstepsdraws circle using the given radius the extent determines how much of the circle is drawnif the extent is not given then the whole circle is drawn steps indicates the number of steps to be used to drawn the circle (it can be used to draw regular polygonsdot(sizecolordraws filled circle with the diameter of size using the specified color