3 ms·
There's a major difference though: `value if predicate else alternative` is itself a value, something you can assign to a variable or pass to a function as a pa
by thamer 4y ago
There's a major difference though: `value if predicate else alternative` is itself a value, something you can assign to a variable or pass to a function as a parameter.