[Tutor] searching for a value in an array (fwd)

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Thu, 5 Sep 2002 13:20:41 -0700 (PDT)


Hi Anthony,

Let's keep the discussion on Tutor, so that other people have the
opportunity to help you.  Also, there may be people who'd like to know how
to do this value-removing as well, so I'll forward your question to Tutor.


---------- Forwarded message ----------
Date: Thu, 05 Sep 2002 19:21:40 +0000
From: anthony polis <anthonypolis@hotmail.com>
To: dyoo@hkn.eecs.berkeley.edu
Subject: Re: [Tutor] searching for a value in an array

Danny,

Now I know how to search a list. But how do you pop() a list item without
knowing it's location in the list? The Python tutorial told me I have to
provide an integer in order to pop() an item out. How do I pop() an item
out when I only know it's value?

_________________________________________________________________
Join the world=92s largest e-mail service with MSN Hotmail.
http://www.hotmail.com