Slicing Shorthand : Slice : List PYTHON TUTORIALS


PYTHON TUTORIALS » List » Slice »

 

Slicing Shorthand


li = ["a""b""c""z""example"]      
print li 
print li[:3]                                    
print li[3:]                                     
print li[:]



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo List
» Slice