Concatenation of List in Python

Using + operator, we can concatenate two or more list.

Example

list1 + list2 + list3 + ..+listN



Concatenating lists in python

Example

#catenation of List in Python

numbers = [1, 2, 3, 4, 5]

print("Numbers are ", numbers)

numbers = numbers + [6, 7, 8] + [9, 10]

print("After concatenation the numbers are", numbers)