We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
If expressions work:
>>> 'yes' if 1 < 2 else 'no' yes
but they do not allow binding of their result to a name:
>>> answer = 'yes' if 1 < 2 else 'no' ParsingError: file=<string> lineno=1 colno=25