(test) ? a:b

Chris Angelico rosuav at gmail.com
Fri Oct 24 19:27:18 CEST 2014

On Sat, Oct 25, 2014 at 4:23 AM, Tobiah <toby at tobiah.org> wrote:
> Out of all of the replies, I don't think anyone
> actually offered the answer:
>     a if condition else b

Jean-Michel did, the very first response.


More information about the Python-list mailing list