Commit 56f4cbc0 by BellCodeEditor

auto save

parent 027d3568
Showing with 13 additions and 1 deletions
import random
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
# 请对message进行遍历,取出所有元素 # 请对message进行遍历,取出所有元素
key = "sdfhjlisdfjnolisejgoisedjbloisdgfjbho;iwrtuj" #干扰字符
text = ""
key2 = "jasldjgbo;dfgnjbouisnhgboer"
for i in message:
str1 = random.choice(key)
str2 = random.choice(key)
text = text + i + str1 + str2
l_text = list(text)
l_text.insert(6,key2)
s1 = "".join(l_text)
print(s1)
\ 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