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

Read: How to use Yield in 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

Marianne is a graduate in communication technologies and enjoys sharing the latest technological advances across various fields. Her programming skills include Java OO and Javascript, and she prefers working on open-source operating systems. In her free time, she enjoys playing chess and computer games with her two children.

Leave a Reply