CS 111: Introduction to Computer Science
Winter 2017
HW06: Smiley face
Due: Friday, 01/27 at 22:00This is a solo assignment.
The program
Write a program to draw a face. Your drawing should:
- Use at least three colors
- Use at least two kinds of shapes
Notes
I'll give one extra credit point to the two faces I like best, purely subjectively. You need not compete for such a lowly prize; but if you're so inclined, go wild.
I may show some faces (winning or not) in class, anonymously. If you do not want your work to be shown, indicate so clearly in the comments at the top of your program.
Grading
Please name your filesmiley.py
. This makes it a little easier for the grader.
- Style/comments [3 points]
- All the style guidelines from previous assignments, as always.
- In particular, even in an assignment like this, you should make good use of functions, descriptive names for functions and variables, and appropriate usage of comments.
- Except for the
import
statement, which should be at the beginning of your program, after your initial comments, the rest of the code should be in functions.
- Requirements [3 points]