<human>:  how to get all possible combination of items from 2-dimensional list in python?
<bot>: Here is some code to get all possible combination of items from 2-dimensional list `a`

list(itertools.product(*a))

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