edit nom variables

This commit is contained in:
2023-11-20 13:29:44 +01:00
parent 021c11c13e
commit b571bbfb51

View File

@@ -70,7 +70,7 @@ Que retournent ces lignes python ?
On peut afficher la liste de la même manière qu'une variable classique : avec la commande *print*
```python
print(tab)
print(liste)
```
--------------
@@ -121,7 +121,7 @@ On peut également initialiser une liste à partir d'une autre :
```pytho
liste_1 = [1, 2, 3, 4]
liste_2 = [2 * x for x in tab_1]
liste_2 = [2 * x for x in liste_1]
print(liste_2)
```