In python if you have a nested dictionary, accessing elements will look like this:
dict["key1"]["key2"]
How would I go about swapping the two keys the fastest? Nothing really comes to my mind other than something like di[wwdi["p1bbp
.
Also just out of curiosity, if the construct is dict.key1.key2
are there different/better solutions?