$10K coding deathmatch
Jonathan Ellis
jonathan at carnageblender.com
Sat Nov 4 12:48:19 MST 2006
On Sat, 4 Nov 2006 12:37:02 -0700, "Levi Pearson" <levi at cold.org> said:
> On Nov 4, 2006, at 11:14 AM, Jonathan Ellis wrote:
> >> This means you pretty much have to
> >> use and/or for inline conditionals, as far as I know.
> >
> > you can do this with boolean operators in early python versions
> >
> > a = condition and trueval or falseval
> >
>
> Right, that's what I meant by 'use and/or for inline conditionals' in
> the above statement, and it's what the code I was responding to did.
Sorry, -1 reading comprehension for me this morning. :)
-J
--
C++ is history repeated as tragedy. Java is history repeated as farce. --Scott McKay
More information about the PLUG
mailing list