I am extracting a dictionary that's giving me this output:
mylist= [[u'Ann', u'jOhn', u'Clive'], [u'124street', u'32B', u'16eve', u'beach']]
When I try to separate it into two, I get a ValueError
:
nest1, nest2 = zip(*mylist)
ValueError: too many values to unpack
Ultimately I need something like this:
nest1=['Ann', 'jOhn', 'Clive']
nest2=['124Street', '32B', '16eve', 'beach]
I found zip(*mylist)
within this answer.