how to write shorthand if statement python code example Example: short if python a = '123' if b else '456'