I am trying to get the dictionary from two lists
keys = [1, 1, 2]
values = [1, 2, 3]
I expect the result would be like this
dictionary1 = {1: 1, 2, 2:3}
I tried to do
for i, j in zip(keys, values):
dictionary1[i].append(j)
but it did not work