import turtle
turtle.left(90)
turtle.begin_fill()
turtle.fillcolor("blue")
turtle.right(90)
turtle.forward(300)
turtle.right(90)
turtle.forward(50)
turtle.right(90)
turtle.forward(300)
turtle.right(90)
turtle.forward(50)
turtle.end_fill()
turtle.backward(50)
turtle.begin_fill()
turtle.fillcolor('white')
turtle.right(90)
turtle.forward(300)
turtle.right(90)
turtle.forward(50)
turtle.right(90)
turtle.forward(300)
turtle.right(90)
turtle.forward(50)
turtle.end_fill()
turtle.backward(50)
turtle.begin_fill()
turtle.fillcolor('green')
|
turtle.pencolor('black')
turtle.right(90)
turtle.forward(300)
turtle.right(90)
turtle.forward(50)
turtle.right(90)
turtle.forward(300)
turtle.right(90)
turtle.forward(50)
turtle.end_fill()
turtle.right(90)
turtle.begin_fill()
turtle.pencolor("red")
turtle.forward(300)
turtle.left(90)
turtle.begin_fill()
turtle.pencolor("black")
turtle.forward(50)
turtle.left(90)
turtle.begin_fill()
turtle.pencolor("red")
turtle.forward(300)
turtle.end_fill()
|