Python sum unique keys in dictionary : I have a bunch of data that I put into a dictionary

    dict = {'a' : '87', 'b': '72', 'a' : '39', 'b' : '84'}

how can I quickly sum up all of the values that have the same keys?

    output:
    a = 126
    b = 156
