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