Preliminary

  • Due Date: Friday, January 25 at 12:45
  • You must complete this assignment individually.

Etch-a-Sketch - 10 points

  • Download the etch-a-sketch.py code from our previous lesson.
  • Modify the code so that whenever the color is changed, both the pencil and the border of the square (where you click to change colors) change to the same new color.

Requirements and Grading

  • 8 points - Your program works correctly as specified.
  • 2 points - Your program does not contain any redundant code.

Submission

Place the solution in a file named etch_[yourname].py and submit it to the Petra Portal no later than 12:45 on Friday, January 25.