Newbie Q on searching lists

Dennis Lee Bieber wlfraed at ix.netcom.com
Sat Nov 23 21:14:25 EST 2002


Kenny Tilton fed this fish to the penguins on Saturday 23 November 2002 
07:58 am:

> 
> ah, that was my problem. i had looked only at list operations, not yet
> grokking the umbrella sequence quality. thx much.
> 

        Relax, I was about to suggest something on the order of:

if thisCalculator < len(calculators):   #len=4 means 0..3 are valid,
                                        #hence the <

-- 
 > ============================================================== <
 >   wlfraed at ix.netcom.com  | Wulfraed  Dennis Lee Bieber  KD6MOG <
 >      wulfraed at dm.net     |       Bestiaria Support Staff       <
 > ============================================================== <
 >        Bestiaria Home Page: http://www.beastie.dm.net/         <
 >            Home Page: http://www.dm.net/~wulfraed/             <




More information about the Python-list mailing list