correction exemples
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user