how could I loop this to repeat the circles with one circle filled with red colour and one without?
from graphics import *
from graphics import *
Code:
w = 300
h = 300
win = GraphWin("Red Circle", w, h)
center = Point(150, 150)
radius = 80
circle = Circle(center, radius)
circle.setFill('red')
circle.setWidth(2)
circle.draw(win)
win.getMouse()
win.close()
Comment