代码如下(#后为注释
import turtle
turtle.pensize(5) # 画笔大小
turtle.pencolor('red') # 画笔颜色
turtle.color( 'red')
turtle.fillcolor( 'red') # 设画笔的颜色/填充颜色为红色
turtle.begin_fill() # 填充颜色开始语句
for i in range(5): # 循环语句
turtle.forward(200) # 画笔前进200像素
turtle.right(144) #向右旋转144
turtle.end_fill() # 填充颜色结束语句