Assignment 4
Defining Methods
Submit before 11:30 PM Saturday October 16October 23

Overview

For this assignment, you will add a new method to the Color class and use it with the graphics package to create an interactive program.

Requirements

  1. Write a new method of your choosing to the Color class. It could be a variation of one of the existing methods demonstrated in class.
  2. Define a helpful function that takes some parameters (e.g. a string, or a shape) and graphs it on a graphics window.
  3. Write an interactive Python function called draw that queries the user on several elements (e.g. text, shapes, colors) and displays a graphic on the window. Using input statements is ok, but also consider implementing a graphical user interface!

Deliverables

Submit two attachments:

  • A txt file (e.g. README.txt) that includes the following:
    • A summary of your accomplishments (include collaboration and process notes)
    • IDLE sessions showing that your functions work (manual unit testing) without any errors.
    • Source code.
  • A zipped folder with all of your Python code.
  • A screen shot from running your draw function.

The assignment is worth 10 points. In addition to meeting the requirements, full credit requires a neatly formatted txt file with well written content.