Correction 1 2 3 4 5 6def recherche(a, tab): nb = 0 for element in tab: if element == a: nb += 1 return nb