Commit 7328d4ab by BellCodeEditor

save project

parent 53937dd4
Showing with 5 additions and 2 deletions
...@@ -4,6 +4,7 @@ import random ...@@ -4,6 +4,7 @@ import random
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句 # 要加密语句
m = "诺依,周末一起去看动漫展吧!" m = "诺依,周末一起去看动漫展吧!"
x="偶是佛呢哦富农二分"
e="" e=""
for i in m: for i in m:
a=i a=i
...@@ -12,5 +13,7 @@ for i in m: ...@@ -12,5 +13,7 @@ for i in m:
d=a+b+c d=a+b+c
e=e+d e=e+d
print(e) print(e)
f=list(e)
f.insert(3,x)
g="".join(f)
print(g)
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