Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What happens if you try to unpack more values than returned?
a, b = (4, 5, 6)
b becomes a tuple of leftover values
Both a and b get all values
Python raises a ValueError
Python automatically ignores extra values
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!