I have found several answers to this problem, however it is not what i intended to do.

When I have a list:

```
[1,2,3],[4,5,6],[7,8,9]

```

And I would like to have all possible combinations:

```
[1,2,3],[7,8,9],[4,5,6]
[1,2,3],[4,5,6],[7,8,9]
[7,8,9],[4,5,6],[1,2,3]
....

```

But is there an easy solution for this in python?

Thanks, and is it also possible to create 1 list instead of 3 like:
 [7,8,9,4,5,6,1,2,3]