Navigation:
Activity 1 - Drawing a square
Kudos! You helped Alex draw a line! Now let’s step it up and help Alex draw a square. To draw a square, we need to follow these steps:
- Go forward for 50 steps
- Turn left by 90 degrees
- Go forward for 50 steps
- Turn left by 90 degrees
- Go forward for 50 steps
- Turn left by 90 degrees
- Go forward for 50 steps
Remember to use turtle.forward()
to draw lines. To turn 90 degrees left, you need to pass 90
as the argument to the turtle.left()
method: