"Andy Leszczynski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How can do elegantly in Python: > > if condition: > a=1 > else: > a=2
I believe that before long Python will support a=1 if condition else 2 -- http://mail.python.org/mailman/listinfo/python-list