This commit is contained in:
2022-03-24 08:26:14 +01:00
parent 9f8f4583b7
commit 76c5bcbc9d

View File

@@ -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