Usefulness of the "not in" operator

Stefaan Himpe stefaan.himpe at gmail.com
Sat Oct 8 07:12:42 EDT 2011


>
> So what is the usefulness of the "not in" operator ? Recall what Zen of
> Python tells
>
> There should be one-- and preferably only one --obvious way to do it.

the zen of python also says (amongst other things):

...
Readability counts.
...
Although practicality beats purity
...

Best regards,
Stefaan.




More information about the Python-list mailing list