Commit 82a16eb4 by BellCodeEditor

save project

parent 62c4437c
Showing with 9 additions and 3 deletions
message = "诺依,周末一起去看动漫展吧!" import random
key = 'cabedfghihklmnopq''
# 请对message进行遍历,取出所有元素 m=input('请输入要加密的字符串')
t=''
for i in range(len(m)):
l1 = random.choice(key)
l2 = random.choice(key)
t = t+m[i]+l1+l2
print(t)
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