Python turtle画图疑问

两段python turtle的代码
来实现画出一个填了色的五角星的指令
但是现在只有五个角填了色
想问一下需要做什么修改

import turtle
t = turtle.Turtle()
t.speed(0)
t.begin_fill()
for i in range(5):
    t.forward(100)
    t.left(144)
t.end_fill()
turtle.done()

import turtle
turtle.begin_fill()
turtle.forward(200)
turtle.right(144)
turtle.forward(200)
turtle.right(144)
turtle.forward(200)
turtle.right(144)
turtle.forward(200)
turtle.right(144)
turtle.forward(200)
turtle.end_fill()
turtle.done()

为什么我复制了代码能够填充完五角星?

你只给5个角连线肯定是只填充5个角啊
你把内五边形的顶点也做连线,填充的就是整个的