Commit eca680ac by BellCodeEditor

save project

parent d223b699
Showing with 16 additions and 0 deletions
import random
str="abcdefg"
str1="hijklmn"
d="1234567"
text=""
for i in str:
a=i
b=random.choice(str1)
c=random.choice(str1)
text+=a+b+c
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