merits of Lisp vs Python

Paul Rubin http
Fri Dec 15 10:20:55 EST 2006


Christophe Cavalaria <chris.cavalaria at free.fr> writes:
> def nif(num, pos, zero, neg):
>    return (zero, pos, neg)[cmp(num, 0)]

Owwoooooooooo!!!



More information about the Python-list mailing list