Is it possible to append key-value pairs to a dictionary?
For example, I want a dictionary like this: a = {4:"Hello", 1:"World"}
can that be done using dictionaries? If it can't, is there an alternate data structure that can do that?
I want it ordered in order I add them. In this case, I added the key-value pair 4:"Hello"
first.