how to add multiple values based on multple keys in dictionary python code example
Example: dictionary multiple values per key
key = "somekey"
a.setdefault(key, [])
a[key].append(1)
key = "somekey"
a.setdefault(key, [])
a[key].append(1)