I'm attempting to embed a list in to an existing list, the problem is explained below.
list1
bla
bla
bla
bla
list2
useful stuff
is here
while my function iterates list1 it picks a random point where it will then insert:
useful stuff
is here
the issue is that list2 now looks like:
bla
bla
useful stuff is here
bla
bla
instead of:
bla
bla
useful stuff
is here
bla
bla
I'm totally confused, I've googled and read the documentation but I just can not find an answer, everything I have tried has failed.
The result on the first run: