Having a list like:
my_list = [
[{'score':9, 'name':'Jack'}],
[{'score':3, 'name':'Danielle'}]
]
I am trying to iterate through this list but can't figure out how to access the values.
for listing in my_list:
print(listing['score'])
The above does not work. Which I understand as I seem to be working on a dictionary that is still inside the second list. However, I am having trouble finding out the correct way to do get access.