3 ms·
Not necessarily... x = 0 y = (x or 42) isn't the same as x = None y = (x or 42)
by UncleEntity 8y ago
Not necessarily...
x = 0
y = (x or 42)
isn't the same as
x = None
y = (x or 42)
- bvrmn 8y agoYes, it isn't the same in a generic sense. But can be applied in many practical cases.