Draw five rings, like the Olympic rings. The rings may touch or cross each other. The background stays white.
All rings are circles with radius 50. The line width is 8. The circles are not filled.
| Ring | Center | Line color |
|---|---|---|
| 1 | (-110, 25) |
blue |
| 2 | (0, 25) |
black |
| 3 | (110, 25) |
red |
| 4 | (-55, -25) |
gold |
| 5 | (55, -25) |
green |
Hints
- The turtle starts at the bottom of a circle. For a ring with center
(x, y)and radius50, start at(x, y - 50).- Use
penup()andpendown()so you do not draw lines between the rings.- Change the line width with
pensize()and the line color withpencolor().- You draw the same thing five times. Can you write a function that draws one ring?