The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
a, b = [1, 2, 3] print(b)
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. (stackabuse.com/unpacking-in-python-beyond-parallel-assign...)
Question difficulty: 🔵🔵🔵🔵🔵