What am I trying to do? I want to put multiple elements to the same position in a list without discarding the previously appended ones.
I know that if mylist.append("something")
is used, the appended elements will be added every time to the end of the list.
What I want it's something like this mylist[i].append("something")
.
Of course that doesn't work, but it's just the idea.
I tried to append a list to another list, but that didn't work neither because the append function can't handle lists.
Is there any way to append stuff to a specific zone in a list?