Correction 1 2 3 4 5 6def voisins_entrants(adj, x): vois = [] for i in range(len(adj)): if x in adj[i]: vois.append(i) return vois