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