Commit e7c8a195 by BellCodeEditor

save project

parent 6f000207
Showing with 8 additions and 1 deletions
import random import random
key = "好玩" key = "好玩"
message="玩" message = input("输入")
key_message = "" key_message = ""
noise = "port:@#$%^&"
for i in message: for i in message:
str1 = i str1 = i
str2 = random.choice(key) str2 = random.choice(key)
str3 = random.choice(key) str3 = random.choice(key)
text = str1+str2+str3 text = str1+str2+str3
key_message = key_message + text key_message = key_message + text
lish_message = key_message + text
index = random.randint(0, len(key_message))
lish_message.insert(index, noise)
resul_message="".join(lish_message)
print(resul_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