Merge two lists in Python

Source code :

a=['hai','this','is']
b=['mergeing','list','in']
c=['simple','way']

a.extend(b)
a.extend(c)
print(a)

Output :

['hai', 'this', 'is', 'mergeing', 'list', 'in', 'simple', 'way']

Output :


                

Comments :