用户:
张子轩查看:0 回复:1 评论:0 创建时间:2021-08-11T18:05:50
【作品展示】

【作品介绍】
本文由“智能交通灯控制研究者”的CSDN博客https://blog.csdn.net/weixin_43544145/article/details/117753454改编而成————————————————
版权声明:本文为CSDN博主「智能交通灯控制研究者」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
【作品源代码】
from turtle import*
bgcolor("red")
fillcolor("yellow")
pencolor("yellow")
penup()
goto(-10,220)
setheading(225)
pendown()
begin_fill()
forward(125)
right(90)
forward(50)
right(90)
forward(100)
right(90)
circle(25,90)
end_fill()
penup()
goto(-40,190)
setheading(-45)
begin_fill()
for i in range(2):
forward(200)
right(90)
forward(30)
right(90)
end_fill()
penup()
goto(-100,100)
setheading(-50)
pendown()
begin_fill()
circle(100,180)
forward(20)
right(157)
circle(-115,190)
left(90)
forward(20)
right(90)
forward(20)
right(90)
forward(20)
left(80)
forward(30)
end_fill()
penup()
goto(-90,50)
pendown()
begin_fill()
circle(20)
end_fill()
penup()
goto(-100, -10)
hideturtle()
write("the Communist Party",font=("微软雅黑",15,"normal"))
done()
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn