Python Program to Concatenate Two Lists (Using extend())

bookmark

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

list_2.extend(list_1)
print(list_2)

 

Output

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