For some reason my code works until it gets to line 67 (bold text). The cursor should move down 100px on the y axis but it stays there and draws the boxes over the second darkblue one. Does anybody know why that is. Help would be gladly appreciated. I'm still new to Python.
def drawbox():
for x in range (4):
avo.color('white', 'blue')
avo.begin_fill()
for x in range(2):
avo.forward(400)
avo.right(90)
avo.forward(100)
avo.right(90)
avo.end_fill()
avo.penup()
avo.setpos(0,-100)
avo.pendown()
avo.color('white', 'darkblue')
avo.begin_fill()
for x in range(2):
avo.forward(400)
avo.right(90)
avo.forward(100)
avo.right(90)
avo.end_fill()
avo.penup()
**avo.setpos(0,-100)**
avo.pendown()
continue
turtle.done()
drawbox()