Mar-06-2018, 08:14 AM
If you have five values on the right of =, you need five variable names on the left.
>>> a, b, c, d = 8, 5, 23, 2, 1 Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: too many values to unpack