Question #308

Only tuples can be unpacked.

Any iterable can be unpacked, not only tuples.

a, b, c = [1, 2, 3]
print(b)
>>2

(stackabuse.com/unpacking-in-python-beyond-parallel-assign...)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵