用户:
机敏的独角蛛phgx查看:0 回复:0 评论:0 创建时间:2023-06-09T21:17:36
【作品展示】

【作品介绍】
红旗
【作品源代码】
import turtle as t
t.bgcolor("red")
t.pencolor("yellow")
t.fillcolor("yellow")
t.setup(1280,800,0,0)
t.speed(5)
def five_star(x,y,heading,喵):
t.penup()
t.goto(x,y)
t.setheading(heading)
t.begin_fill()
for i in range(5):
t.forward(喵)
t.right(144)
t.end_fill()
five_star(-520,240,0,240)
five_star(-230,345,305,70)
five_star(-150,230,-8,70)
five_star(-150,130,-35,70)
five_star(-230,68,300,70)
t.hideturtle()
t.done()
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn