Commit 6adcf26c by BellCodeEditor

save project

parent 1fe2002d
Showing with 6 additions and 1 deletions
...@@ -4,10 +4,14 @@ import random ...@@ -4,10 +4,14 @@ import random
key = "jsahgieow14u3290752scnkdxhg9w" key = "jsahgieow14u3290752scnkdxhg9w"
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
key_message="" key_message=""
for i in (len(message)): 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 d=a+b+c
key_message=key_message+d key_message=key_message+d
print(key_message) print(key_message)
message1=list(key_message)
message1.insert(random.randint(0,len(message1)),"sjdgq83u40q953iuoibx")
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