if-else with '|' operator - beginner's question/problem
Thomas Wouters
thomas at xs4all.net
Wed Aug 8 14:03:28 EDT 2001
On Wed, Aug 08, 2001 at 07:59:08PM +0200, Thomas Wouters wrote:
> What you were looking for is the 'logical OR' operator, '||',
Sigh... this is what happens when you program C and Perl more than Python :)
The logical OR operator in Python is, of course, "or", not "||". Sorry about
that brainfart.
--
Thomas Wouters <thomas at xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
More information about the Python-list
mailing list