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
- Import the turtle library
- Set the variables for distance and angle
- distance = 40
- angle = 90
- Set the color of the turtle
- jet.color("green")
- Start the fill area
- jet.begin_fill()
- Draw a square as before, but don't do the last right turn
- End the fill area
- jet.end_fill()
- Repeat steps 3 through 6 until all four squares are drawn
- Hide the Turtle
- jet.hideturtle()
Still need help? Four Squares: https://trinket.io/python/a7e1bf623c