import turtle
t=turtle.Pen
turtle.color("gold")#画笔颜色
turtle.fillcolor("red")#笔身
turtle.begin_fill()
turtle.forward(20)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(20)
turtle.right(90)
turtle.forward(100)
turtle.end_fill()
turtle.fillcolor("black")#笔盖
turtle.begin_fill()
turtle.right(90)
turtle.forward(5)
turtle.left(90)
turtle.forward(10)
turtle.right(90)
turtle.forward(10)
turtle.right(90)
turtle.forward(10)
turtle.end_fill()
turtle.fillcolor("green")
turtle.begin_fill()
turtle.left(90)
turtle.forward(20)
turtle.right(90)
turtle.forward(50)
turtle.right(90)
turtle.forward(12)
turtle.right(90)
turtle.forward(40)
turtle.end_fill()
turtle.left(90)
turtle.forward(2)
turtle.left(90)
turtle.forward(90)
turtle.fillcolor("blue")
turtle.begin_fill()
turtle.right(60)
turtle.forward(13)
turtle.right(60)
turtle.forward(13)
turtle.end_fill()