Commit 26bb053f by BellCodeEditor

save project

parent 3a2ab9cc
Showing with 5 additions and 2 deletions
...@@ -2,10 +2,14 @@ import random ...@@ -2,10 +2,14 @@ import random
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
message2="" message2=""
x="ikikikikikikikikikikikikikikutg"
for i in range(len(message)): for i in range(len(message)):
a=message[i] a=message[i]
b=random.choice(key) b=random.choice(key)
c=random.choice(key) c=random.choice(key)
d=a+b+c d=a+b+c
message2+=d message2+=d
print(message2) m=list(message2)
\ No newline at end of file m.insert(5,x)
n="".join(m)
print(n)
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