import turtle
turtle.penup()#“拿起”笔
turtle.goto(0, 0)#让笔去到(0,0)位置
turtle.pendown()#“放下”笔
turtle.pencolor("blue")#笔色为篮
turtle.begin_fill()#开始填充
turtle.fillcolor('red')#填充颜色为红
for i in range(5):#循环五次
turtle.forward(100)#向前
turtle.right(144)#向右
turtle.end_fill()#停止填充
turtle.done() #保持界面不关闭
运行结果: