Draw a pepperoni pizza, exactly as described below. The background stays white.
The crust is the big circle. The cheese is a smaller circle on top of it. Draw the crust first. Then the cheese stays inside it and the crust is still visible around it.
| Part | Shape | Center | Radius | Line color | Line width | Fill color |
|---|---|---|---|---|---|---|
| Crust | Full circle | (0, 0) |
100 |
black | 1 |
sandybrown |
| Cheese | Full circle | (0, 0) |
85 |
black | 1 |
gold |
| Pepperoni 1 | Full circle | (-40, 30) |
12 |
black | 1 |
red |
| Pepperoni 2 | Full circle | (35, 35) |
12 |
black | 1 |
red |
| Pepperoni 3 | Full circle | (0, -10) |
12 |
black | 1 |
red |
| Pepperoni 4 | Full circle | (-30, -40) |
12 |
black | 1 |
red |
| Pepperoni 5 | Full circle | (40, -35) |
12 |
black | 1 |
red |
| Pepperoni 6 | Full circle | (-65, -5) |
12 |
black | 1 |
red |
| Pepperoni 7 | Full circle | (65, 0) |
12 |
black | 1 |
red |
| Pepperoni 8 | Full circle | (0, 60) |
12 |
black | 1 |
red |
Hints
- The turtle starts at the bottom of a circle. For a circle with center
(0, 0)and radius100, you start at(0, -100).- Use
penup()andpendown()so you do not draw lines between the parts.- Fill a shape with
begin_fill()andend_fill().- The eight pepperoni slices look alike. Can you draw them with a loop?