Found a way that can possibly allow me to get the keys of my dictionary using value with this : mydic.keys()[mydic.values().index(value-I-use)]
in this code :
def déchiffrement(code,dico):
    taille3 = len(code)
    décodé = []
    for i in range(taille3):
        décodé.insert(i, dico.keys()[dico.values().index(code[i])])
    return décodé
"dico" is a dictionary looking like this : dico = {"A":[1,9],"B":["12,19].... "Z":[78, 108]} and "code" is a list of numbers that corresponds to a letter. The numbers in dico are never the same.
Problem is : I get a AttributeError: 'dict_values' object has no attribute 'index' which I don't understand because this code seems to work on other people's codes.
