Commit b41448a5 by BellCodeEditor

save project

parent c89ef66a
Showing with 3 additions and 2 deletions
......@@ -16,9 +16,9 @@ for i in range(len(message)):
print(key_message)
#将message转换为列表
message1=list(key_message)
#随机字符串插入列表
#将乱码插入到列表的随机位置
message1.insert(random.randint(0,len(message1)),"¥%……&*$%_*^&%(%^")
#将列表排列好
#将列表转换成字符串
message2="".join(message1)
#将得到结果打印出来
print(message2)
\ 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