def redCircles():
win = GraphWin("Patch2" ,100,100)
for x in (10, 30, 50, 70, 90):
for y in (10, 30, 50, 70, 90):
c = Circle(Point(x,y), 10)
c.setFill("red")
c.draw(win)
This is my code and the output should look like this:
Just tested this and it works for me.
We're drawing filled circles, then rectangles over half of them, and then outlined circles to get the outlines back. The if checks which column we're in.