def cree(): return [[] for _ in range(23)] def contient(s, x): return x in s[x % 23] def ajoute(s, x): s[x % 23].append(x) def enumere(s): tab = [] for paquet in s: tab.extend(paquet) return tab