Python 2.3 True = False
Erik Max Francis
max at alcyone.com
Mon Mar 24 17:46:26 EST 2003
Rene Pijlman wrote:
> You have got to be kidding :-D
>
> What did it assign True and False to? And why?
Probably 1 and 0, respectively. If you want True/False sentinels and
can't be sure you have Python 2.3, you have to make them yourself.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ It is only to the individual that a soul is given.
\__/ Albert Einstein
Lsystem / http://www.alcyone.com/pyos/lsystem/
A Lindenmayer systems explorer in Python.
More information about the Python-list
mailing list