On 2005-11-18, Daniel Crespo <dcrespo at gmail.com> wrote: > I would like to know how can I do the PHP ternary operator/statement > (... ? ... : ...) in Python... The _PHP_ ternary operator (x?y:z)! Kids these days! -- Grant Edwards grante Yow! It's so OBVIOUS!! at visi.com