From b571bbfb5120dddbd1b3e1f6f9666ec11486853b Mon Sep 17 00:00:00 2001 From: Florian Mathieu Date: Mon, 20 Nov 2023 13:29:44 +0100 Subject: [PATCH] edit nom variables --- representation_construits/chapitre_1/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/representation_construits/chapitre_1/README.md b/representation_construits/chapitre_1/README.md index 19bdfd7..7a25956 100644 --- a/representation_construits/chapitre_1/README.md +++ b/representation_construits/chapitre_1/README.md @@ -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) ```