绘制五角星代码

#高手代码
from turtle import *
color("red","yellow")
begin_fill()
hideturtle()
speed(1)
while True:
forward(200)
right(144)
if abs(pos())<1:
break
end_fill()
done()

#初学Python的代码
 
原文地址:https://www.cnblogs.com/ni-huang-feng-wu/p/14773987.html