Fun with Flags – Part 1: flags and turtles

Step 2 – Turning the turtle

Did you notice that the turtle starts off facing to the right of the screen?

Let's learn how to turn the turtle in another direction.

Code helper image
  1. Change your program to do this:
    from turtle import *
    forward(100)
    right(90)
    forward(100)
  2. Run your program: Run > Run Module

The  right(90) command tells the turtle to turn 90 degrees to the right.

A 90° turn is called a right angle. This is the sort of turn that forms the corners of a square or a rectangle.
You can make the turtle do turns that aren't 90° – we'll come back to this in Part 2...