do...until wisdom needed...
Steve Lamb
grey at despair.rpglink.com
Mon Apr 16 16:48:54 EDT 2001
On 16 Apr 2001 20:04:32 GMT, Marcin 'Qrczak' Kowalczyk <qrczak at knm.org.pl>
wrote:
>Mon, 16 Apr 2001 16:19:42 -0000, Steve Lamb <grey at despair.rpglink.com> pisze:
>> statement unless (condition)
>> statement if (!condition)
>> statement if (not condition)
>> unless (condition){statement}
>> if (!condition) {statement}
>> if (not condition) {statement}
>Don't forget:
>condition or statement;
>!condition and statement;
>not condition and statement;
>condition || statement;
>!condition && statement;
>(not condition) && statement;
Well, these start delving into compound conditions, I was purposely
keeping with the simplistic view but, yes, those are other methods of doing
so. :)
--
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