If Python does not have a ternary conditional operator, is it possible to simulate one using other language co