Question 1 of 5
What happens with a, b = [1, 2]?
The two targets need two items.
A regular target list matches items one-for-one from left to right.
Review this lesson
Check your understanding of assignment-side iterable unpacking, starred targets, nested targets, and value swapping.
Knowledge check
Check your understanding of assignment-side iterable unpacking, starred targets, nested targets, and value swapping.
You can retake this quiz whenever you like.
Question 1 of 5
Question 2 of 5
Question 3 of 5
Question 4 of 5
Question 5 of 5