Commit 7e9498d7 by BellCodeEditor

save project

parent 3534ef03
Showing with 15 additions and 2 deletions
message = "诺依,周末一起去看动漫展吧!"
import random
message = "杨霈宸,7月23日日本奥运会开始了!"
key1 = "afs华东交¥%*大)*&登记表bko250呵呵呵飞虎队GVvrdr;nnd那当然4bvc看不上5418h729502gfksv3和教师345节活动92v:JJ273#¥%……3疔的巨峰寺北京现代"
text = ""
key2 = "www.//@^_^魏晋649¥%……&*风度&$%"
# 请对message进行遍历,取出所有元素
for i in message:
print(i,"")
start1 = random.choice(key1)
start2 = random.choice(key1)
start3 = random.choice(key1)
text = text + i + start1 + start2 + start3
l_text = list(text)
l_text.insert(random.randint(0,len(message)-1),key2)
mx = "".join(l_text)
print(mx)
\ 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