Dictionary from .json file returned empty when nested dictionary was expected
I am supposed to run a piece of code that finds all the affiliations of a Nobel Prize winner with a function get_affiliation_prizes(dict_laureates). This is an example of the data structure: {'id': '2', 'firstname': 'Hendrik A.', 'surname': 'Lorentz', 'born': '1853-07-18',…