In this topic, you will learn how to draw a square using turtle graphics.
Follow the instructions below to draw a square.
INSTRUCTIONS:
That is one way of drawing a square.
The line turtle.forward draws a line the length of whatever number is in its brackets. Meanwhile, the turtle.left turns the arrow whatever number of degrees that is in-between its brackets
For our square the length is 100 and the angles are 90 degrees.
Try and draw a rectangle. What would the length be? Would the angles still be the same? Edit the code above and click RUN to see if you get it right.