How to concatenate two lists in Python

In order to concatenate two lists in Python,.e.g. :

firstList = [A, B, C]

secondList = [D, E, F]

Read: How to Create an executable from a Python program

Proceed as follows:

resultingList = firstList + secondList # concatenate two lists Python


If you like the content, we would appreciate your support by buying us a coffee. Thank you so much for your visit and support.


Marianne elanotta

As a graduate in communication technologies, Marianne likes to share the latest technological advances in various fields. She likes to program in Java OO and Javascript and prefers to work on Open source operating systems. She likes to play chess and computer games in her spare time along with her 2 kids.

Leave a Reply