diy.py 290 Bytes Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 import random key = "hhhhhhhhhhkkkkkkkkkkkkkkkhhhhhhhhhhhhhh" a = "诺依,周末一起去看画展" b ="port@#$%^&" h4="" list(b) for i in a: h1=i h2=random.choice(key) h3=random.choice(key) h = h1 + h2 +h3 h4 = h4 + h h4=list(h4) h4.insert(5,b) c1="".join(h4) print(c1)