diff --git a/representation_base/chapitre_1/EXERCICES_2.md b/representation_base/chapitre_1/EXERCICES_2.md index bf56cc9..7286b56 100644 --- a/representation_base/chapitre_1/EXERCICES_2.md +++ b/representation_base/chapitre_1/EXERCICES_2.md @@ -107,8 +107,8 @@ __Question 8 :__ En s'inspirant des questions précédentes, écrire une fonctio ``` python >>> decimal_en_hexa(21) "15" ->>> decimal_en_hexa(2019) -"7E3" +>>> decimal_en_hexa(2023) +"7E7" ``` @@ -120,7 +120,7 @@ __Question 9 :__ écrire une fonction ``hexa_en_decimal(hexa)`` qui retourne le ```python >>> hexa_en_decimal("A") 10 ->>> decimal_en_hexa("E10F") +>>> hexa_en_decimal("E10F") 57615 ```