Hello Ishwor ,
The simpliest way I can explain slicing is that the slices point to the
spot *between* the items......
Take this list for example
slicer =  [0,1,2,3,4,5]
>>> slicer [1]
1
>>> slicer [1:2]
[1]
>>> slicer [:-1]
 [0,1,2,3,4] 
>>> slicer[2,4]
[2,3]

Hth,
 M.E.Farmer

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to