python x = 1, 2 code example
Example 1: [1::2] python
>>> L = range(10)
>>> L[::2]
[0, 2, 4, 6, 8]
Example 2: x y = 1 2 python
>>> a,b = 1,2
>>> a
1
>>> b
2
>>> a,b,c = ['do', 're', 'mi']
>>> a
'do'
>>> b
're'
>>> c
'mi'
>>>
>>> L = range(10)
>>> L[::2]
[0, 2, 4, 6, 8]
>>> a,b = 1,2
>>> a
1
>>> b
2
>>> a,b,c = ['do', 're', 'mi']
>>> a
'do'
>>> b
're'
>>> c
'mi'
>>>