What is the best way in python to convert a list of small length (3 or 4) into variables. Actually I want to do the opposite of creating a list like this in Python 3.
some_python_list=[a,b,c,d]
So what I want is something which does
a,b,c,d=some_python_list.decompose(4) #while I know alist is of length 4
So I can save myself from
a=some_python_list[0]
b=some_python_list[1]
c=some_python_list[2]
d=some_python_list[3]
or
a,b,c,d=some_python_list[0],some_python_list[1],some_python_list[2],some_python_list[3]