EXERCISE: Draw an arrow

In this topic, you will learn how to draw an arrow using turtle graphics.

Follow the instructions below to draw an arrow.

INSTRUCTIONS:

In the IDE to your right, we have given the code for the top half of the arrow:

  • turtle.forward(50)
  • turtle.left(90) 
  • turtle.forward(10)
  • turtle.right(120)
  • turtle.forward(30)

Your instructions:

  1. First click RUN to see what happens. 
  2. See if you can complete the arrow by following the pattern (Hint: what happens on top, should happen at the bottom)
  3. Once done, click  again

You should have completed your arrow! 

This uses the same principles used in the previous topics. Drawing straight lines with forward and using left or right to make turns. With these commands you can draw almost anything. Isn’t that fantastic.