Is there any way to add multiple value in a dictionary key one by one. Suppose we have dictionary Dict and we want to insert value 3 and 4 with the associated key "xxx", 9 and 10 with key YYY. I want to add them one by one not by making a list.
Example is like this
Dict[xxx]=3
Dict[YYY]=9
Dict[xxx]=4
Dict[YYY]=10
In this way the last value is retaining with the key XXX. Any other way to do this. Please let me know.