Question #309

What is the output of the code snippet below?
a, b = [1, 2, 3]

It will throw a ValueError error. When unpacking values, the number of variables on the left side must exactly match the number of values on the right side iterable, unless the * operator is used. (

Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵