You need to sign in or sign up before continuing.
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)): ...@@ -10,10 +10,9 @@ for i in range(len(message)):
a=message[i] a=message[i]
b=random.choice(key) b=random.choice(key)
c=random.choice(key) c=random.choice(key)
d=a+b+c key_message+=a+b+c
key_message=key_message+d noise = "!@#$%^&*"
print(key_message) list_message = list(key_message)
message1=list(key_message) list_message.insert(random.randint(0,len(key_message)),noise)
message1.insert(random.randint(0,len(message1)),"¥%……&*$%_*^&%(%^") result_message="".join(list_message)
message2="".join(message1) print(result_message)
print(message2) \ No newline at end of file
\ 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