I have two dictionaries. In dictionary1 I have numbers as keys and the occurrence of those numbers as values. In dictonary2 I have numbers again as keys, but there are more numbers here than in dictionary1. The values in dictionary2 are the description of the numbers. From dictionary1 I can get an output file where I have the unique numbers in the first column and the occurrence of the numbers in the second column. No I want to get the description of the number from dictionary2 and put it in the third column, like following:
7 11 books (Basically number 7 has occurred 11 times and number 7 represents books)
4 5 fruits
10 15 buses
How to do this?