get all possible combination of items from 2-dimensional list `a`,list(itertools.product(*a))