Commit 874bd8f6 by BellCodeEditor

save project

parent 538bdad8
Showing with 16 additions and 3 deletions
......@@ -4,8 +4,21 @@ import random
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
message = "诺依,周末一起去看动漫展吧!"
text=""
c="$%^&%%^%####***!!"
vac="$%^&%%^%####***!!"
va="$%^&%%^%####***!!"
ac="$%^&%%^%####***!!"
aaa=[1,2,3,4,5,6,7,8,9,10,11]
for a in message:
str1=random.choice(key)
str2=random.choice(key)
text=a+str1+str2
print(text,end="")
\ No newline at end of file
text=text+a+str1+str2
text1=list(text)
abc=random.choice(aaa)
ac=random.choice(aaa)
bc=random.choice(aaa)
text1.insert(abc,vac)
text1.insert(ac,vac)
text1.insert(bc,vac)
all="".join(text1)
print(all)
\ 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