Python - How to make a list of permutations : I have a list of variables, let's call it X. Below are the contents of X

    x = ['A, B', '2', '3', 'Jan, Feb']

I want to transform this list into a list of lists with all the permutations of each list item that is comma separated sot hat it looks like this.

    x = [['A', '2', '3', 'Jan'], ['A', '2', '3', 'Feb']
         ['B', '2', '3', 'Jan'], ['B', '2', '3', 'Feb']]

I prefer a solution that uses built-in tools