Commit b28480fb by BellCodeEditor

auto save

parent d3f70b5b
Showing with 4 additions and 3 deletions
......@@ -13,7 +13,7 @@ for i in range(len(message)): #遍历字符串
d=a+b+c #将加密字符和乱码连接
key_message=key_message+d #保存加密好的语句
print(key_message)
message1=list(key_message) #将加密好的语句转化为列表
message1.insert(random.randint(0,len(message1)),"¥%……&*$%_*^&%(%^") #随机将乱码插入列表
message2="".join(message1) #将列表转化为字符串
#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