Draw a capital D with a black pen that is 2 pixels thick. The letter is 40 pixels wide and 80 pixels high. Use a half-circle for its rounded right side.

The turtle starts in the center of the canvas, facing east. This is the bottom-left point of the letter.

  1. Turn left and draw the straight left edge, 80 pixels up.
  2. Face east. Draw a half-circle with radius 40. It curves around the right side and ends at (0, 0).

Letter D