From f3b40eb62b12ac0feecb0d4fce4c22abcbd45f0c Mon Sep 17 00:00:00 2001 From: Florian Mathieu Date: Thu, 24 Mar 2022 08:26:14 +0100 Subject: [PATCH] edit --- algorithmes/PARCOURS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithmes/PARCOURS.md b/algorithmes/PARCOURS.md index 920b0cb..3b15298 100644 --- a/algorithmes/PARCOURS.md +++ b/algorithmes/PARCOURS.md @@ -24,7 +24,7 @@ Si on souhaite savoir si un élément nommé *e* en particulier se trouve dans u def recherche(tab,e): occurrence = False for i in range (len(tab)): - if tab[i] == b: + if tab[i] == e: occurrence = True return occurrence return occurrence