Recommended Answers

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 …

Jump to Post

All 3 Replies

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.