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