4 ms·
I definitely expected "multiple assignment" to refer to this syntax (which Python also has) x = y = None
by bobbyi 4y ago
I definitely expected "multiple assignment" to refer to this syntax (which Python also has)
x = y = None
- raymondh 4y agoYes, that would be correct. a = b = 10 # multiple assignment a, b = b, a # simultaneous (or parallel) assignment