[a,b,c,d] = 1,2,3,4

ast nomail at invalid.com
Tue Aug 25 16:16:17 CEST 2015


>>> [a,b,c,d] = 1,2,3,4
>>> a
1
>>> b
2
>>> c
3
>>> d
4

I have never seen this syntax before. Is it documented.
Is there a name for that ?

thx


More information about the Python-list mailing list