用户:沈小虎查看:0 回复:0 评论:0 创建时间:2020-03-17T11:07:33
【作品展示】

【作品介绍】
此作品是作者一个人做的,版权也是此作者的。
拒绝盗版。
shenboyinPython 版权所有
沈博寅 版权所有
盗版必究。
开始先等待三秒,
他就自动开始了。
【作品源代码】
import time
import turtle
__Pen = turtle.Pen()
# 沈博寅 版权所有
# Windows10的logo
print('shenboyinPython', '[版本1.0.0000.02]')
time.sleep(1)
print('版权所有', '2020 shenboyinPython', '保留所有权利。')
time.sleep(1)
print('三秒后执行代码')
time.sleep(1)
print('二')
time.sleep(1)
print('一')
time.sleep(1)
print('开始执行代码')
# 接下来是代码环节
# 第一块
__Pen.penup()
__Pen.goto((-80), 90)
__Pen.setheading(5)
__Pen.pencolor("#33ffff")
__Pen.pendown()
__Pen.fillcolor("#33ffff")
__Pen.begin_fill()
__Pen.forward(90)
__Pen.setheading((-90))
__Pen.forward(75)
__Pen.setheading((-180))
__Pen.forward(90)
__Pen.setheading(90)
__Pen.forward(70)
__Pen.end_fill()
# 第二块
__Pen.penup()
__Pen.goto(20, 100)
__Pen.setheading(5)
__Pen.pencolor("#33ffff")
__Pen.pendown()
__Pen.fillcolor("#33ffff")
__Pen.begin_fill()
__Pen.forward(90)
__Pen.setheading((-90))
__Pen.forward(83)
__Pen.setheading((-180))
__Pen.forward(90)
__Pen.setheading(90)
__Pen.forward(70)
__Pen.end_fill()
# 第三块
__Pen.penup()
__Pen.goto((-80), 10)
__Pen.setheading(0)
__Pen.pencolor("#33ffff")
__Pen.pendown()
__Pen.fillcolor("#33ffff")
__Pen.begin_fill()
__Pen.forward(90)
__Pen.setheading((-90))
__Pen.forward(80)
__Pen.setheading(175)
__Pen.forward(90)
__Pen.setheading(90)
__Pen.forward(75)
__Pen.end_fill()
# 第四块
__Pen.penup()
__Pen.goto(20, 10)
__Pen.setheading(0)
__Pen.pencolor("#33ffff")
__Pen.pendown()
__Pen.fillcolor("#33ffff")
__Pen.begin_fill()
__Pen.forward(90)
__Pen.setheading((-90))
__Pen.forward(88)
__Pen.setheading(175)
__Pen.forward(90)
__Pen.setheading(90)
__Pen.forward(88)
__Pen.end_fill()
# the end
turtle.done()
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn