diff --git a/representation_construits/chapitre_2/exercices/CORRECTION_POKEDEX.md b/representation_construits/chapitre_2/exercices/CORRECTION_POKEDEX.md index 7e3f236..8113e83 100644 --- a/representation_construits/chapitre_2/exercices/CORRECTION_POKEDEX.md +++ b/representation_construits/chapitre_2/exercices/CORRECTION_POKEDEX.md @@ -46,8 +46,8 @@ def le_plus_grand(pokemons): ```python def le_plus_leger(liste_pokemons): - leger = None - poids_min = None + leger = 0 + poids_min = 0 for (nom, (taille, poids)) in liste_pokemons.items(): if poids_min > poids poids_min = poids