Commit 5fb31932 by BellCodeEditor

save project

parent a75dafe2
Showing with 12 additions and 8 deletions
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
key = 'qwerty去啊自我实现二的,吃软饭v提供必要黑奴加密!'
key_message = ''
# 请对message进行遍历,取出所有元素 # 请对message进行遍历,取出所有元素
l = len(message) import random
i = 0
while i < l: for i in message:
x = message[i] str1 = i
print(x) str2 = random.choice(key)
i = i + 1 str3 = random.choice(key)
\ No newline at end of file t = str1+str2+str3
key_message += t
print(key_message)
\ No newline at end of file
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