from turtle import *
pensize(5)
pencolor('yellow')
fillcolor('red')
begin_fill()
while True:
fd(200)
right(144)
if abs(pos()) < 1:
break
end_fill()
五角星练习
2021/12/26 22:52:44
from turtle import *
pensize(5)
pencolor('yellow')
fillcolor('red')
begin_fill()
while True:
fd(200)
right(144)
if abs(pos()) < 1:
break
end_fill()