From 4d5a548fcb86e82cebd2223ef491fec78f080193 Mon Sep 17 00:00:00 2001 From: Florian Mathieu Date: Thu, 12 Oct 2023 15:12:34 +0200 Subject: [PATCH] correction exemples --- representation_base/chapitre_1/EXERCICES_2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ```