8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
We probably already discussed this, but I really would like to do conditional assignment:
(a if predicate else b) = expression
Not sure how this can be parsed unambiguously, but it is easy to transpile to pure Python:
if predicate: a = expression else: b = expression