Is there a way to unpack a list of lists, but into multiple variables?
scores = [['S', 'R'], ['A', 'B'], ['X', 'Y'], ['P', 'Q']]
Into:
a = ['S', 'R'], b = ['A', 'B'], c = ['X', 'Y'], d = ['P', 'Q']
Seems like something that should be quite simple and yet I'm unable to find a solution that doesn't involve extracting all the individual elements into one big list, which is not what I want to do. I want to retain the 4 individual objects, just not stored inside a list or dictionary.
Looking for a general solution that might apply if the number of lists within the list / number of variables change.