Python五角星

点击查看代码
from turtle import *
fillcolor("red")
begin_fill()
while True:
forward(200)
right(144)
if abs(pos()) < 1:
break
end_fill()
posted @ 2025-02-25 15:03  无忌ovo  阅读(30)  评论(0)    收藏  举报