Extend with list : Extend : List PYTHON TUTORIALS


PYTHON TUTORIALS » List » Extend »

 

Extend with list


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

list1.extend(list2)
print list1



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo List
» Extend