*blink* That's neat.

Stephen Hansen stephen at cerebralmaelstrom.com
Tue May 30 09:19:02 CEST 2000


While writing a function, I curiousely typed this into the Interpreter:

>>> if Case is not 0 or 1:
        ....

etc..and it worked.. This was rather surprising to me :) Dunno why, but I
expected I would have to write --> if Case is not 0 or Case is not 1:

Or: --> if Case != 1 or Case != 0

Okay, there's really no point to this post.. I was just surprised and had to
tell someone, and my roommate really, really, REALLY didn't care. Not that
anyoen here does either, but you can't give me an agitated look :)

--S








More information about the Python-list mailing list