I created a nested dictionary from a CSV file that maps out the way the data is structured. I now need to rearrange the data in a table format, (does not necessarily need to be in a table but it just needs to be arranged in a way that is understandable.
The nested dictionary looks like this:
{   'CA': {   'Bay Area ': [   ('warm? ', 'yes\n'),
                               ('East/West Coast? ', 'West \n')],
              'SoCal ': [   ('north or south? ', 'south \n'),
                            ('warm ', 'yes \n')]},
    'MA': {   'Boston ': [   ('East/West Coast? ', 'East \n'),
                             ('like it there? ', 'yes\n')],
              'Pioneer Valley ': [   ('East/West Coast? ', 'East \n'),
                                     ('city? ', 'no\n'),
                                     ('college town? ', 'yes\n')]},
    'NY': {   'Brooklyn ': [   ('East/West Coast? ', 'East \n'),
                               ('been there? ', 'yes\n'),
                               ('Been to coney island? ', 'yes\n')],
              'Manhattan ': [   ('East/West Coast? ', 'East \n'),
                                ('been there? ', 'yes\n')],
              'Queens ': [   ('East/West Coast? ', 'East \n'),
                             ('been there? ', 'yes\n')],
              'Staten Island ': [('is island? ', 'yes\n')]}}
The information needs to be formatted into this way:

How do I print this information out in this format in python? Or if I use a module, what module do I use and what functions in that module should I use?
 
     
     
    