If not, is it possible to simulate one concisely using other language constructs?
Does Python have a ternary conditional operator?
Ask by Anonymous User
Updated 11 May 2015
a if test else bOfficial documentation: