CSSE 120 -- Intro. to Software Development

Homework 7

  1. Complete the assigned reading for the next session (Zelle sections 6.5-6.7, 7.1-7.3 ).
  2. Complete the Angel quiz over this reading. You'll find this on the course Angel page,
    under Lessons → Homework → Homework 7 → More Functions, Decision Structures
  3. Function versions of pizza, polygon, and star.  Place all of your function definitions in one Python source file, pizzaPolyStar.py.

  4. Create a function called circleOfCircles that takes five parameters and draws N circles whose centers are equally spaced around a (usually) larger circle.  Do not actually draw the circle that they are spaced around.  Parameters:
    1. a GraphWin object where it will do its drawing.
    2. N, the number of circles to draw.
    3. A Point that is the center of the "big" circle that the other circles surround.
    4. The radius of the "big" circle.
    5. The radius of the small circle.

    You should be able to create some interesting patterns by calling your function with various parameters (in a 1000 by 1000 window). You might try (one at a time) the examples are below, along with output from the first one"

Submit a file containing your Python code for the circleOfCircles function to the circleOfCircles drop box in the Homework 7 folder on ANGEL.