Commit 6809b56c by BellCodeEditor

save project

parent 3aec7f7b
Showing with 3 additions and 3 deletions
......@@ -4,14 +4,14 @@ import random
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
message = "诺依,周末一起去看动漫展吧!"
stur_ans=""
str_ans=""
for i in message:
stur1=i
stur2=random.choice(key)
stur3=random.choice(key)
stur4=stul+stur2+stur4
stur4=stur1+stur2+stur3
str_ans=str_ans+stur4
print(s)
print(str_ans)
......
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