Given a dictionary of lists, such as
d = {\'1\':[11,12], \'2\':[21,21]}
Which is more pythonic or otherwise preferable:
fo
Here's the list comprehension approach. Nested...
r = [[i for i in d[x]] for x in d.keys()] print r [[11, 12], [21, 21]]