how to get the index with the key in python dictionary?,list(x.keys()).index('c')