Commit 73b91046 by BellCodeEditor

save project

parent 991b408a
Showing with 17 additions and 0 deletions
import random
str="abcdefg"
str1="hijklmn"
d="123456"
text=""
for i in str:
a=i
b=random.choice(str1)
c=random.choice(str1)
text+=a+b+c
print(text)
list1=list(text)
e=random.randint(0,len(list1))
list1.insert(e,d)
f="".join(list1)
print(f)
\ 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