How to concatenate two lists in Python?

Spread the love

In this tutorial, you will learn how to concatenate two lists in Python?

#program example

l1 = [3,2,1] l2 = [4,5,6] l3=l1+l2 print(l3)

Output:

 

Leave a Reply

Your email address will not be published. Required fields are marked *