Commit 56798ab3 by BellCodeEditor

save project

parent 09658352
Showing with 5 additions and 5 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)
print(message2)
\ No newline at end of file
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