Slicing to access ranges of elements : Slice : List PYTHON TUTORIALS


PYTHON TUTORIALS » List » Slice »

 

Slicing to access ranges of elements


tag = '<a href="http://www.python.org">Python web site</a>
print tag[9:30]
print tag[32:-4]



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo List
» Slice