Draw a capital G with a black pen that is 2 pixels thick. The letter is 40 pixels wide and 80 pixels high.

The turtle starts at the center of the canvas, facing east. This is the bottom-left corner of the letter’s 40-by-80-pixel space. Keep the whole letter inside this space.

  1. Lift the pen. Move forward 40 pixels, turn left, and move forward 60 pixels. Turn right to face east.
  2. Put the pen down. Draw to (20, 80), then (0, 60).
  3. Draw down to (0, 20), then to (20, 0) and (40, 20).
  4. Draw up to (40, 40), then left to (20, 40) to make the short bar inside the letter.

Letter G