Source Code:
(back to article)
# without tuple unpacking t = (1, 2, 3) a = t[0] b = t[1] c = t[2] # with tuple unpacking t = (1, 2, 3) a, b, c = t print(a, b, c)
Result:
Report an issue