Concatenate Two Lists in Python Using + Operator

(Last Updated On: 02/02/2023)

Python Program to Concatenate Two Lists Using + Operator

#Python Program to Concatenate Two Lists Using the + operator

list_1 = [1, 'a']
list_2 = [2, 'b', 3]

# + operator is used to concatenate two lists
list_joined = list_1 + list_2
print(list_joined)

Output:

[1, 'a', 2, 'b', 3]

Leave a Reply

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