correction exemples

This commit is contained in:
2023-10-12 15:12:34 +02:00
parent 9fe82a98b8
commit afa556ad61

View File

@@ -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
```