changed.
That said, "x is 0" is even simpler.
--
Ciao, Paul D. DeRocco
Paulmailto:pdero...@ix.netcom.com
--
https://mail.python.org/mailman/listinfo/python-list
lse is 0
> False
Funny how the subject line inadvertently prefigures the answer: False
*isn't* 0. False *equals* 0. So just change "==" to "is" and "!=" to "is
not" and it should work.
Also, it can be done in a single expression, with no local variables.
--
Ciao, Paul D. DeRocco
Paulmailto:pdero...@ix.netcom.com
--
https://mail.python.org/mailman/listinfo/python-list