Commit 25a131cf by BellCodeEditor

save project

parent 94b0b522
Showing with 6 additions and 0 deletions
......@@ -2,6 +2,7 @@ import random
message = "诺依,周末一起去看动漫展吧!"
Key = "hefhef3797dhvb"
Key_message = ""
noise ="@$&$#klfgfg065898hj';lkgln)"
for i in message:
str1 = i
str2 = random.choice(Key)
......@@ -10,5 +11,10 @@ for i in message:
Key_message = Key_message + text
print(Key_message)
list_message = list(Key_message)
list_message.index(5,noise)
result_message = "".join(list_message)
print (result_message)
# 请对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