Commit c3485ce3 by BellCodeEditor

save project

parent 3173b0b3
Pipeline #1431 failed in 0 seconds
Showing with 12 additions and 2 deletions
import random import random
key ="abcdefg" key ="abcdefg"
message ="诺依周末去看动漫展吧" message ="诺依周末去看动漫展吧"
key_mes="" key_mes=""
noise = "j noise = "jcgmxhtjjxfj"
for i in message: for i in message:
str1=i str1=i
str2=random.choice(key) str2=random.choice(key)
srt3=random.choice(key) srt3=random.choice(key)
text=str1+str2+srt3 text=str1+str2+srt3
key_mes=key_mes+text key_mes=key_mes+text
list_mes = list(key_mes) list_mes = list(key_mes)
list_mes.insert(5, noise)
index = random.randint(0,len(key_mes))
list_mes.insert(index, noise)
result_mes = "".join(list_mes) result_mes = "".join(list_mes)
print(result_mes) print(result_mes)
\ 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