find index of element present in dictionary. code example Example: find position of key in dictionary python keys = list(dictionary.keys() index = keys.index("test")