human
How to generate all permutations of a list in Python
assistant
Here is some code to generate all permutations of list `[1, 2, 3]` and list `[4, 5, 6]`

print(list(itertools.product([1, 2, 3], [4, 5, 6])))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.