check if the values are prensent in a list of values
superflit at gmail.com
Tue Sep 9 21:52:55 CEST 2008
On 9 set, 15:13, Bruno Desthuilliers
<bdesth.quelquech... at free.quelquepart.fr> wrote:
> Matt Nordhoff a écrit :
> > I'm not judging whether this is a good solution or not, but that's a
> > silly use of a dict.
> Yeps, but a somewhat common one in code predating the apparition of sets
> as builtin type.
Thanks for all contributions, sure I learn a lot with all samples.
Very good thread and answers.
Thank you all
More information about the Python-list