Adding Elements to Lists : List Insert : List PYTHON examples


PYTHON examples » List » List Insert »

 

Adding Elements to Lists


Adding Elements to Lists


li = ['a''b''mpilgrim', 'z''example'] 

li.insert(2"new")                                

print li 


           
       



    Related Scripts with Example Source Code in same category :

Leave a Comment / Note


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


PYTHON examples

 Navioo List
» List Insert