Commit 874bd8f6 by BellCodeEditor

save project

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