Ternery operator

Peter Hansen peter at engcorp.com
Sun Sep 7 18:59:48 CEST 2003


Andrew Chalk wrote:
> 
> Is there a python equivalent of the C ternery operator?

See http://www.python.org/cgi-bin/faqw.py?query=4.16&req=search




More information about the Python-list mailing list