用户:opjest_Redstone查看:0 回复:0 评论:0 创建时间:2020-03-15T21:40:15
【作品展示】

【作品介绍】
BUG有点多这不是原图
【作品源代码】
import turtle
import time
import random
import math
__Pen = turtle.Pen()
t = turtle.Pen()
t = turtle.Pen()
turtle.bgcolor("#000000")
for __count in range(20):
print('加载中...')
print('加载中..')
print('加载中.')
print('加载中.')
print('加载中..')
print('加载中...')
time.sleep(0.02)
answer = input('When you enter draw draw a colored spiral ,Input draw monochrome draw solid color spiral ,Enter the bride price to get the color seal and Calculators!!!')
colors = ['red', 'yellow', 'blue', 'green', 'purple', 'orange', 'white']
t.speed(100)
while (answer == 'draw'):
for x in range(100):
t.color(colors[x % 4])
t.forward((x * 2))
t.left(89)
t.hideturtle()
break
while (answer == 'drawmonochrome'):
for x in range(100):
t.pencolor('white')
t.forward((x * 2))
t.left(89)
t.hideturtle()
break
while (answer == 'bride price'):
__Pen.write(turtle.textinput('clors', 'Type in the word you want to write'))
for x in range(50):
t.color(colors[x % 4])
t.goto(random.randint((-100), 100), random.randint((-100), 100))
t.hideturtle()
break
while (answer == 'hayp'):
print('ok but people buying vape lite not because of this they buying because it ss bypass and it can be loaded in blc')
break
while (answer == 'ranbow woll'):
for i in range(0, 10):
turtle.bgcolor("#ffffff")
turtle.bgcolor("#cccccc")
turtle.bgcolor("#c0c0c0")
turtle.bgcolor("#999999")
turtle.bgcolor("#666666")
turtle.bgcolor("#333333")
turtle.bgcolor("#333333")
turtle.bgcolor("#000000")
turtle.bgcolor("#ffcccc")
turtle.bgcolor("#ff6666")
turtle.bgcolor("#ff0000")
turtle.bgcolor("#cc0000")
turtle.bgcolor("#cc0000")
turtle.bgcolor("#990000")
turtle.bgcolor("#660000")
turtle.bgcolor("#330000")
turtle.bgcolor("#ffcc99")
turtle.bgcolor("#ff9966")
turtle.bgcolor("#ff9900")
turtle.bgcolor("#ff6600")
turtle.bgcolor("#990000")
turtle.bgcolor("#660000")
turtle.bgcolor("#330000")
turtle.bgcolor("#ffff99")
turtle.bgcolor("#ffcc33")
turtle.bgcolor("#cc9933")
turtle.bgcolor("#996633")
turtle.bgcolor("#996633")
turtle.bgcolor("#663333")
turtle.bgcolor("#ffffcc")
turtle.bgcolor("#ffff33")
turtle.bgcolor("#ffff00")
turtle.bgcolor("#ffcc00")
turtle.bgcolor("#999900")
turtle.bgcolor("#999900")
turtle.bgcolor("#996633")
turtle.bgcolor("#999900")
turtle.bgcolor("#666600")
turtle.bgcolor("#000099")
turtle.bgcolor("#33ffff")
while (answer == game):
print('End of program run')
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn