something like "if" that returns a value?

Paul Rudin Paul_Rudin at scientia.com
Mon Nov 11 05:44:25 EST 2002


>>>>> "AM" == Alex Martelli <aleax at aleax.it> writes:

 AM> Paul Rudin wrote:
 >> .... lisp's if:
 >> 
 >> (if x y z)
 >> 
 >> which returns y if x is true and z otherwise.
 >> 
 >> ... is there a succinct way of expressing this in the base language?

[snip urls]

Thanks for the reply.

Seems like the executive summary is : "No" :-)

-- 
What I want to find out is -- do parrots know much about Astro-Turf?



More information about the Python-list mailing list