用户:
蓝要起飞查看:0 回复:0 评论:0 创建时间:2022-04-12T15:13:38
【作品展示】

【作品介绍】
顶到90%以上
【作品源代码】
#import turtle
import random
t=10
ok=0
def xx(b=1,c=0):
ok=0
for x in e:
if x>c:
ok+=1
c+=1
else:
pass
return ok
#pen =turtle.Pen()
def int_(d):
return random.randint(d,d)
a = t
e = []
for i in range(int_(t/75*100//1)):
e.append(random.randint(0, t))
print(e)
while ok!=t:
for i in e:
if (i >= a):
e.append(i)
del e[i]
a -= 1
if a%7==0:
if xx(t)==1:
break
print(e)
if a%t==0:
if xx(t)==1:
break
while True:
pass
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn