billes = {'vert': 6, 'rouge': 15, 'bleu': 11, 'jaune': 2, 'orange': 17 } total = 0 for n in billes.XXXXXXX(): total = total + n