Use the methods in the Picture class to draw a smiling face.

Note: One could make use of arc as in drawSmiley or circle (with part then “erased”) as in drawSmiley2 for the smile.

```
def drawSmiley():
canvas = makeEmptyPicture(100,100)
canvas.addArc(black, 10, 60, 80, 30, 160, 220)
canvas.addOvalFilled(black, 10, 10, 20, 40)
canvas.addOvalFilled(black, 70, 10, 20, 40)
show(canvas)

def drawSmiley2():
canvas = makeEmptyPicture(100,100)
canvas.addOval(black, 10, 60, 80, 30)
canvas.addRectFilled(white, 10, 60, 80, 10)
canvas.addOvalFilled(black, 10, 10, 20, 40)
canvas.addOvalFilled(black, 70, 10, 20, 40)
show(canvas)
```

Computer Science & Information Technology

You might also like to view...

The ________ is an organization that focuses on IT education and the development of seminars and learning materials

Fill in the blank(s) with correct word

Computer Science & Information Technology

An LCD screen is composed of a fixed grid of ________

A) organic materials B) phosphors C) pixels D) rays

Computer Science & Information Technology