Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #32823

Re: delete value in list in indexing

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: delete value in list in indexing
Date 2012-11-06 14:45 +0000
References <CAGRy8cJ9YeOBcWeLR1crxHxynP5qqoc_SJWgFuqrK9uvg+SjNg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3326.1352213122.27098.python-list@python.org> (permalink)

Show all headers | View raw


On 06/11/2012 06:17, Amit Agrawal wrote:
> i want to  delete  list  in upper and lower some specific value
>

I think you want to delete a slice so read about slicing here 
http://docs.python.org/3/library/stdtypes.html#sequence-types-list-tuple-range

-- 
Cheers.

Mark Lawrence.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: delete value in list in indexing Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-11-06 14:45 +0000

csiph-web