Commit 5707cae9 by BellCodeEditor

save project

parent e11ce799
Showing with 11 additions and 1 deletions
import random
a = "abcdefg使用编程实现位移替换加密,制作密码机关真实太好玩了哈哈!"
message = "诺依,周末一起去看动漫展吧!"
# 请对message进行遍历,取出所有元素
a_message = ""
for i in message:
print(i)
str1 = i
str2 = random.choice(a)
str3 = random.choice(a)
test = str1+str2+str3
a_message = a_message+test
print(a_message)
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