First time here? Check out the FAQ!
answered 2020-06-18 11:12:32 +0100
I have found a solution, but I wonder if it is the best. As I am not Pierre de Fermat, I will give it
Ac=[[x for x in l if bool(x in cl[j])==True] for j in range(len(Cl))]