Howdy,
I need to create a pair of circles, but have them drawn five times onto a single window. I am totally stumped. Here is what I have so far that prints one pair of circles:
That program creates a pair of circles. I need five pairs of circles for my work. I know I use "for i in range (5):", but where
I need to create a pair of circles, but have them drawn five times onto a single window. I am totally stumped. Here is what I have so far that prints one pair of circles:
Code:
def p91_clone(): win = GraphWin("cloning dots") leftEye = Circle(Point(80,50),5) leftEye.setFill('yellow') leftEye.setOutline('red') rightEye = leftEye.clone() rightEye.move(20,0) leftEye.draw(win) rightEye.draw(win) p91_clone()
That program creates a pair of circles. I need five pairs of circles for my work. I know I use "for i in range (5):", but where
Comment