I need to get only the permutations that have letters and numbers (The permutation can not be. \"A, B, C, D\" I need it like this: \"A, B, C, 1\")
In short, the perm
Quite a naive solution..
(x for x in itertools.combinations([0,1,2,3,4,'a','b','c','d'], 4) if not all(c.isalpha() for c in x) and not all(c.isdigit() for c in x))