Commit d964d068 by BellCodeEditor

auto save

parent 96f1763d
Showing with 21 additions and 16 deletions
......@@ -72,18 +72,23 @@ b = '我国天启坦克研究成功,装备了等离子机光炮,宇宙合金
h = '逞其不备放大招。'
c = ''
d = '!@#$%^^&*$%^%/*-/-@%@%$#^%^&^#%#$'
f = input("碧玉妆成一树高,")
if f == h:
for i in b:
str1 = i
str2 = random.choice(a)
str3 = random.choice(a)
next=str1+str2+str3
c=c+next
e = list(c)
indext = random.randint(1,20)
e.insert(indext,d)
g = ''.join(e)
print(g)
else:
print("暗号错误,请重新输入")
\ No newline at end of file
fghj = 3
while True:
f = input("碧玉妆成一树高,")
if f == h:
for i in b:
str1 = i
str2 = random.choice(a)
str3 = random.choice(a)
next=str1+str2+str3
c=c+next
e = list(c)
indext = random.randint(1,20)
e.insert(indext,d)
g = ''.join(e)
print(g)
else:
print("暗号错误,请重新输入")
if fghj == 0:
print("已锁定!")
break
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment