Suppose I have the following list:
list = [{'a': 1, 'b': 2}, {'c': 3, 'd': 4}, {'e': 5, 'f': 6}]
How do I access a particular value of key say d?
d
Index the list then the dict.
print L[1]['d']
2.1m questions
2.1m answers
60 comments
57.0k users