expr if cond else expr
result = if cond: expr else: expr
result = cond then expr1 else expr2
IMNHSO, precisely for the reason you mention, that would be much more of a hack.