list index question

Matt Singer mrsinger at usa.net
Tue Apr 1 15:17:06 EST 2003


Can I wildcard? I don't know the values in the second column.  I want
to find the first entry what has a particular value in the first
column.


"Anna" <revanna at mn.rr.com> wrote in message news:<pan.2003.04.01.15.42.18.291186 at mn.rr.com>...
> On Tue, 01 Apr 2003 09:38:54 +0000, Anna wrote:
> 
> > 
> >>>> list1=[(100,0), (10,5), (100,10), (100,0)] print list1
> 
> Have I mentioned that I *hate* it when my mailreader does this to a simple
> copy/paste from IDLE... 
> 
> That print statement should, of course, have been on a separate line...
> 
> Ugh.
> Anna




More information about the Python-list mailing list