Question about shorthand if and if-elses


#1

This is legal
do_something if expr
Is there a shorthand version of if-else too, like so:
do_something if expr else do_this