# TODO: Put your imports here: zellegraphics and math (for sin, cos and pi) # User gives the value of "number" number = input("Enter a small odd integer: ") # TODO: Display a graphics window that is 1200 by 400 # Where the circle is radius = 150 centerX = 200 centerY = 200 # Builds vertices list vertices = [] for i in range(number): x = radius * cos(2 * pi * i / number) + centerX y = radius * sin(2 * pi * i / number) + centerY vertices.append(Point(x, y)) # TODO: Put code here that draws the circle and the pizza slices # Where the 2nd circle is, and its vertices centerX = 550 centerY = 200 vertices = [] for i in range(number): x = radius * cos(2 * pi * i / number) + centerX y = radius * sin(2 * pi * i / number) + centerY vertices.append(Point(x, y)) # TODO: Put code here that draws the circle circumscribed # Where the 3rd circle is, and its vertices centerX = 950 centerY = 200 vertices = [] for i in range(number): x = radius * cos(2 * pi * i / number) + centerX y = radius * sin(2 * pi * i / number) + centerY vertices.append(Point(x, y)) # TODO: Put code here that draws the circle with a star