New submission from Naresh <[email protected]>:

example : list=['abcd', 786 , 2.23, 'john', 70.2 ]
          print list[0:-1]
      output:      ['abcd', 786 , 2.23, 'john']
is this expected behavior because list[0:-1] is supposed to print list from 
starting to end but this is not happening

----------
messages: 1884
nosy: [email protected]
priority: bug
status: unread
title: problem while accessing value using the slice operator []

_______________________________________________________
PSF Meta Tracker <[email protected]>
<http://psf.upfronthosting.co.za/roundup/meta/issue366>
_______________________________________________________
_______________________________________________
Tracker-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tracker-discuss

Reply via email to