Skip to content

Drawing Four Squares

Challenge

Using what you have learned, can you draw four squares in different colors, then hide the turtle when the drawing is complete?

Some hints

  1. Import the turtle library
  2. Set the variables for distance and angle
    • distance = 40
    • angle = 90
  3. Set the color of the turtle
    • jet.color("green")
  4. Start the fill area
    • jet.begin_fill()
  5. Draw a square as before, but don't do the last right turn
  6. End the fill area
    • jet.end_fill()
  7. Repeat steps 3 through 6 until all four squares are drawn
  8. Hide the Turtle
    • jet.hideturtle()

Still need help? Four Squares: https://trinket.io/python/a7e1bf623c