Using List Operators : List Cancatenation « List « Python






Using List Operators

Using List Operators
 

li = ['a', 'b', 'mpilgrim'] 
li = li + ['example', 'new']                       
print li 

li += ['two']                                      
print li 

           
         
  








Related examples in the same category

1.List concatenation: speedList concatenation: speed
2.Concatenation ( + )
3.Concatinate two listsConcatinate two lists
4.List concatenation DemoList concatenation Demo