Add 2 python dictionaries (python 3) : Trying to add 2 python dictionaries in python 3. for example:    

    dict1 = {'a': 10,'b':20}
    dict2 =  {'a': 30,'b':30}

    expected result:

    dict_sum = {'a': 40,'b':50}

    Code:

    A = Counter (dict1)
    B = Counter(dict2)
    dict_sum = A + B

    Result:

    Counter() #empty counter object

Still getting an empty counter object.

I checked on the type of keys and values in A and B, result as following.

    <class 'dict_values'>
    <class 'dict_keys'>

Please suggest me where am I going wrong.

