I have a dict like this:
{
'first':{'value': 2, 'blah': 'ants'},
'second':{'value': 5, 'blah': 'birds'},
'third':{'value': 8, 'blah': 'cats'},
'fourth':{'value': 10, 'blah': 'cats'}
}
I want the output to be 25 i.e(2+5+8+10)
How can I do this?