title: creating multiple objects graphics
body: <p>Heres my code. Im using graphics.py by zelle. My objective is to create multiple objects (more than one) but it can get ugly if i were to draw more than ten. I was just wondering how do you simplify the code in helper_function() without creating the object one by one? including different colours. </p>
  
  <pre><code>def main_function():
        win = GraphWin ("Example" , 1000,1000)
        win.setBackground("green")
  
  def helper_function():
        b = Circle(Point(50,50),20)
        b.setFill("blue")
        b.draw(win)
  
        b = Circle(Point(50,100),20)
        b.setFill("blue")
        b.draw(win)
  
        b = Circle(Point(50,150),20)
        b.setFill("blue")
        b.draw(win)
  
        g = Circle(Point(300,50),20)
        g.setFill("green")
        g.draw(win)
  
        g = Circle(Point(350,50),20)
        g.setFill("green")
        g.draw(win)
  
        g = Circle(Point(400,50),20)
        g.setFill("green")
        g.draw(win) 
  
        g = Circle(Point(450,200),20)
        g.setFill("green")
        g.draw(win) 
  </code></pre>