Commit 6a995fdb by BellCodeEditor

save project

parent 29d45076
Showing with 706 additions and 8 deletions
list=["a","b","c","d"]
a="".join(list)
b=",".join(list)
print(a)
print(b)
......@@ -10,10 +10,9 @@ for i in range(len(message)):
a=message[i]
b=random.choice(key)
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
key_message+=a+b+c
noise = "!@#$%^&*"
list_message = list(key_message)
list_message.insert(random.randint(0,len(key_message)),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