from turtle import *

shape('turtle')
setup(240, 240)

def p(x, y):
    penup(), setpos(x, y)
    pendown()
    setheading(0)

def fill_circle(x, y, r, c = ""):
    p(x, y - r)
    color("black", c)
    begin_fill()
    circle(r)
    end_fill()

def row(y):
    x = -100; r = 10
    while x < 100: 
        fill_circle(x, y, r)
        x += 20
    
speed(0)
hideturtle()
y = 100
while y > -100: 
    row(y)
    y -= 20
done()
