I want to convert list to a dictionary that will have duplicate keys so to have all values I would like to have a list of values within a dict.
input as list:
l = ['a', '1', 'b', '2', 'a', '3']
Output should look like this:
d = {'a': ['1','3'], 'b': '2' }