effectifs = {} for lettre in effectifs.keys(): effectifs[lettre] = len([lettre in effectifs])