2013-01-18 At 11:33 PM
Destructuring assignment / tuple unpack in Python - by examples
Destructuring assignment (a.k.a. tuple unpack) in Python, seems to be very useful thing. The most basic variant:
»> x,y = 1,2
»> x,y
(1, 2)
what is identical to:
Read More»> x, y = [1,2]
»> x, y = (1,2)

:

