That is not list append, but a list insert. Another way to do it to create a new, third list by appending list 1 until "+++++++" is found, then append list 2, then append the rest of list 1.

I have no idea what you are talking about.

>>> list_of_things = ['kittens', 'mittens', 'flowers']
>>> list_of_things.append('strawberies')
>>> list_of_things
['kittens', 'mittens', 'flowers', 'strawberies']

you can example code it !

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.