while true: !!!
Steve Lamb
grey at despair.rpglink.com
Mon Dec 18 18:27:59 EST 2000
On Mon, 18 Dec 2000 23:32:23 +0100 (MET), Carsten Geckeler <nospam at no.spam>
wrote:
>`while true' would be more readable and clear than `while 1'. By the way,
>explain a newbie that -1 is true. ;)
0 is true, all else is false. And? :P
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
ICQ: 5107343 | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------
More information about the Python-list
mailing list