Re: searching a value of a dict (each value is a list)

2007-12-10 Thread Seongsu Lee
On 12월10일, 오후12시18분, Adonis Vargas <[EMAIL PROTECTED]> wrote: > Seongsu Lee wrote: > > Hi, > > > I have a dictionary with million keys. Each value in the > > dictionary has a list with up to thousand integers. > > Follow is a simple example with 5 keys. > &

Re: searching a value of a dict (each value is a list)

2007-12-09 Thread Seongsu Lee
On 12월10일, 오전6시49분, Jeremy C B Nicoll <[EMAIL PROTECTED]> wrote: > Seongsu Lee <[EMAIL PROTECTED]> wrote: > > Hi, > > > I have a dictionary with million keys. Each value in the > > dictionary has a list with up to thousand integers. > > Follow is a simpl

Re: searching a value of a dict (each value is a list)

2007-12-09 Thread Seongsu Lee
On 12월10일, 오전1시53분, Pablo Ziliani <[EMAIL PROTECTED]> wrote: > Seongsu Lee escribió: > > > Hi, > > > I have a dictionary with million keys. Each value in the > > dictionary has a list with up to thousand integers. > > (...) > > > I want to find out t

Re: searching a value of a dict (each value is a list)

2007-12-09 Thread Seongsu Lee
On 12월10일, 오전1시23분, Seongsu Lee <[EMAIL PROTECTED]> wrote: > Hi, > > I have a dictionary with million keys. Each value in the > dictionary has a list with up to thousand integers. > Follow is a simple example with 5 keys. > > dict = {1: [1, 2, 3, 4, 5], >2: [10, 1

searching a value of a dict (each value is a list)

2007-12-09 Thread Seongsu Lee
Hi, I have a dictionary with million keys. Each value in the dictionary has a list with up to thousand integers. Follow is a simple example with 5 keys. dict = {1: [1, 2, 3, 4, 5], 2: [10, 11, 12], 90: [100, 101, 102, 103, 104, 105], 91: [20, 21, 22], 99: [15, 16, 17, 18,