Compare length of three lists in python,"list(itertools.combinations(L, 2))"