Commit 014e9758 by BellCodeEditor

save project

parent 027d3568
Showing with 11 additions and 2 deletions
message = "诺依,周末一起去看动漫展吧!"
import random
e = "诺依,周末一起去看动漫展吧!"
d="和的额额桥尾故人分形容他想让夏天热吸热特大泽乡杂而时任总统"
w=list(e)
for i in range(9):
a1,a2=random.choices(d,k=2)
l=a1+a2
a=random.randint(0,len(w))
w.insert(a,l)
t="".join(w)
print(t)
# 请对message进行遍历,取出所有元素
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