Slice from the end : Slice : List PYTHON TUTORIALS


PYTHON TUTORIALS » List » Slice »

 

Slice from the end


numbers = [12345678910]

print numbers[-3:-1]



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo List
» Slice