狂人TD4.32 积分代码生成
- 作者: frivol
- 来源: 51数据库
- 2022-08-12
import random
#快银闪电侠 22:56 2015/10/18 星期日
#狂人TD4.32 积分代码生成
l="abcdefghijklmnopqrstuvwxyz"
r=range(15,0,-1)
score=999
def jf(lenname):
for rn in r:
tempint=0
tempstr=""
tempid=(lenname+rn)%10
#积分代码第一位字母
tempint=score%10+lenname%10
tempstr=l[tempint]
#2
tempint=score%10+rn
tempstr=tempstr+l[tempint]
#3
tempint=int((score%100)/10)+tempid+1
tempstr=tempstr+l[tempint]
#4
tempint=int(score/100)+tempid+3
tempstr=tempstr+l[tempint]
#5
tempint=score%10
tempint=int(score%100/10)+tempint
tempint=int(score/100)+tempint
tempint=tempint%26
#6
tempstr=tempstr+l[tempint]
tempint=score%10
tempint=((tempint+1)*(tempid+3))%10
tempstr=tempstr+str(tempint)
print("游戏名字长度为",lenname,"积分999代码:",tempstr)
for lenname in r:
jf(lenname)
推荐阅读
热点文章
Discord.py(重写)on_member_update 无法正常工作
0
Discord.py 在 vc 中获取用户分钟数
0
discord.py 重写 |为我的命令出错
0
Discord.py rewrite 如何 DM 命令?
0
播放音频时,最后一部分被切断.如何解决这个问题?(discord.py)
0
在消息删除消息 Discord.py
0
如何使 discord.py 机器人私人/直接消息不是作者的人?
0
(Discord.py) 如何获取整个嵌入内容?
0
Discord bot 尽管获得了许可,但不能提及所有人
0
Discord.py discord.NotFound 异常
0
