News for hackers. Stuff that matters.
Re:Learn Python in minutes by eurleif on Friday June 28, 2013 @04:21PM (#5960144)
Yes, that is the same with or without parentheses. You're creating a tuple on the right-hand side of the equal sign, and using tuple unpacking on the left-hand side to assign the members of that tuple to variables. To make it a bit more clear, you can add parentheses on the left to match the ones on the right:

    (a, b, c) = (1, 2, 3)

There are no comments on this comment yet.