(test) ? a:b

Tobiah toby at tobiah.org
Fri Oct 24 14:31:47 EDT 2014


On 10/24/2014 10:27 AM, Chris Angelico wrote:
> 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.
>
> ChrisA
>


I had to search for it.  For some reason Thunderbird
didn't thread that message with all the others.





More information about the Python-list mailing list