Sum of dict values.
Given a list, return the summation of the values to be found in that list.
Sample Code:
def sumValue(d):
# Enter your logic here...
Examples:
Input: {a:1,b:2}
Output: 3
Explanation: 3 is the summation of values 1 and 2.
Input: {a:-1,b:-2}
Output: -3
Explanation: -3 is the summation of values -1 and -2.