Commit 69b5ebc8 by BellCodeEditor

save project

parent b63a7541
Showing with 7 additions and 6 deletions
......@@ -12,8 +12,9 @@ for i in range(len(message)):
c=random.choice(key)
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
noise="¥%……&*$%_*^&%(%^"
list_message = list(key_message)
index = random.randint(0,len(key_message))
message2 = list_message.insert(index,noise)
message1 = "".join(list_message)
print(message1)
\ 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