My list of list looks something like this:
[[4,'apples'],[3,'oranges'],[4,'bananas'],[2,'apples'],[2,'pineapple'],[3,'apples']]
I want to create a dictionary from this, where the values of each item is listed: for example, I want the following output:
{4:'apples','bananas', 3:'oranges','apples', 2:'apples', 'pineapple'}