I have list of dictionaries like:
>>> lst = [
... {'a': 1, 'b': 2},
... {'a': 3, 'b': 4}
... ]
>>> [x for x in lst]
[{'a': 1, 'b': 2}, {'a': 3, 'b': 4}]
and I'd like to add new item to each dictionary:
>>> [x.update({'c': '0'}) for x in lst]
[None, None]
So how to do this?