Operators : Concatenate « List « Python Tutorial






list1 = ["One", "Two", "Three"]
list2 = ["Five", "Six"]


list1 += list2
print list1








7.5.Concatenate
7.5.1.Adding Sequences
7.5.2.Operators
7.5.3.List Operators
7.5.4.Repetition ( * )