New to python! Here is the list of dictionaries I have in python:
[{'amt': 400, 'name': 'whatever1'}, {'amt': 300, 'name': 'whatever3'}, {'amt': 500, 'name': 'whatever2'}]
I would like to add all the ‘amt’ together without using a complete for loop. Any ideas?
should do it.