@craigmaloney @schlink Hang on, I think Python does do what you want:
bar = 'something' if foo else 'something else'
@noelle @craigmaloney @schlink Don't they all have ternary operators? condition ? when-true : when-false
@Gargron @craigmaloney @schlink This is Python's equivalent of the ternary operator, I think.
@noelle @craigmaloney @schlink Don't they all have ternary operators? condition ? when-true : when-false