> -----Original Message-----
> From: Tim Chase [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 25, 2008 8:34 AM
> To: Reedick, Andrew
> Cc: Robert Rawlins - Think Blue; python-list@python.org
> Subject: Re: Last 4 Letters of String
> 
> > How would you get the last 4 items of a list?
> 
> Did you try the same "get the last 4 items" solution that worked
> for a string?
> 
>    lst[-4:]


The idea was to ask a question that would help the original poster to
answer their own question.  =)



*****

The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential, proprietary, and/or privileged 
material. Any review, retransmission, dissemination or other use of, or taking 
of any action in reliance upon this information by persons or entities other 
than the intended recipient is prohibited. If you received this in error, 
please contact the sender and delete the material from all computers. GA621


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

Reply via email to