On Aug 29, 5:00 am, "Dr. Phillip M. Feldman" <pfeld... at verizon.net> wrote: > In [21]: x > Out[21]: [1, 2, 3, 5] > > In [22]: x>6 > Out[22]: True > > Is this a bug? No. http://docs.python.org/reference/expressions.html#notin