五角星

from turtle import *
import turtle
t = turtle.Pen()
name='17信计庞宇达'
fillcolor("red")
begin_fill()
t.write(name)
while True:

forward(200)
right(144)
if abs(pos()) < 1:
break
end_fill()
turtle.exitonclick()

 

posted @ 2020-09-16 11:29  庞宇达  阅读(84)  评论(0)    收藏  举报