If I have a dictionary a, are a.keys() guaranteed to come in the same order as a.values()?
That is to say, is the fir element of a.keys() guaranteed to correspond to the first element of a.values(), and so on for the other elements?
Said otherwise, given:
a = {"a":1, "b":2}
b = {k:v for k,v in zip(a.keys(),a.values())}
is a==b always and guaranteed to be True?