五角星python

from turtle import *
fillcolor("red")
begin_fill()
while True:
forward(200)
right(144)
if abs (pos()) < 1:
break
end_fill()

posted @ 2025-02-24 16:36  YMH^_^  阅读(19)  评论(0)    收藏  举报