用户:
FN战队Lion查看:0 回复:0 评论:0 创建时间:2023-02-02T15:07:02
【作品展示】

【作品介绍】
感谢观看!制作不容易,给作者点个关注吧~
【作品源代码】
# 荷塘青蛙
import turtle as t
t.bgpic("背景图.png")
t.pencolor("green")
t.begin_fill()
t.fillcolor("green")
t.penup()
t.goto(-130,200)
t.pendown()
t.pensize(10)
t.setheading(-60)
t.forward(100)
t.setheading(-180)
t.forward(100)
t.setheading(-300)
t.forward(100)
t.end_fill()
t.begin_fill()
t.fillcolor("green")
t.penup()
t.goto(-130,120)
t.pendown()
t.setheading(-60)
t.forward(125)
t.setheading(-180)
t.forward(125)
t.setheading(-300)
t.forward(125)
t.end_fill()
t.begin_fill()
t.fillcolor("green")
t.penup()
t.goto(-130,40)
t.pendown()
t.setheading(-60)
t.forward(150)
t.setheading(-180)
t.forward(150)
t.setheading(-300)
t.forward(150)
t.end_fill()
t.penup()
t.goto(-130, -95)
t.begin_fill()
t.pencolor("brown")
t.fillcolor("brown")
t.pendown()
t.begin_fill()
t.setheading(180)
t.forward(25)
t.setheading(-90)
t.forward(100)
t.setheading(0)
t.forward(50)
t.setheading(90)
t.forward(100)
t.setheading(180)
t.forward(25)
t.end_fill()
t.begin_fill()
t.pencolor("black")
t.penup()
t.goto(200,-40)
t.pencolor("black")
t.fillcolor("black")
t.setheading(0)
t.circle(10, 360)
t.end_fill()
t.penup()
t.goto(245, -40)
t.begin_fill()
t.pencolor("black")
t.fillcolor("black")
t.setheading(0)
t.circle(10, 360)
t.end_fill()
t.done()
#全76行,加t.done,#(作品名)共78行和作者名!谢谢观看~
#白龙韩忧作品~
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn