Python ternary mittels ganz schlimm

[expression] and [on_true] or [on_false]
Piri Roter