Commit 9ee840e2 by BellCodeEditor

save project

parent 29315db7
Showing with 6 additions and 5 deletions
......@@ -9,7 +9,8 @@ for i in message:
c=random.choice(key)
d=a+b+c
key_message=key_message+d
message1=list(key_message)
message1.insert(random.randint(0,len(message1))
message2="".join(message1)
print(message2)
\ No newline at end of file
list_message=list(key_message)
index=random.randint(0,len(key_message))
list_message.insert(index,noise)
result_message="".join(list_message)
print(result_message)
\ 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