Commit de11fc8f by BellCodeEditor

auto save

parent d223b699
Showing with 17 additions and 0 deletions
import random
a = "今天晚上出去玩吗?"
b = "asdfgghjkl——095324098今天是周几"
a1 = list(a)
j = 0
for i in range (len(a)):
j = j+1
a1.insert(i+j , random.choice(b))
a = "".join(a1)
print (a)
z = random.randint(0,len(a)-1)
q = random.randint(0,len(b)-1-5)
a1 = list(a)
a1.insert(z,b[q:q+5])
a = "".join(a1)
print(a)
\ 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