Draw a Square with Turtle Graphics
Draw a square by repeating forward(100) and right(90) four times.
Steps
- Open the lab (see Materials): "Try It Now".
- Create monty with monty = turtle.Turtle().
- Type monty.forward(100), then on a new line: monty.right(90).
- Repeat three more times. Run to check the square.
Stretch Goal
Use forward(50) to draw a smaller square inside.
Beginner Card
Turtle Graphics