How to Join Two List By Using + Operator in Python


In this example we will show how to join two list by using the + operator in Python.

Source Code

list1 = ['a', 'b']
list2 = ['e', 'f']

list3 = list1 + list2
print(list3)

Output:

['a', 'b', 'e', 'f']
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments