human
How to find all possible sequences of elements in a list?
assistant
Here is some code to find all possible sequences of elements in a list `[2, 3, 4]`

map(list, permutations([2, 3, 4]))

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