I want to create all possible character combinations from lists. The first char needs to be from the first array, the second char from the second array, etc.
If I have the following lists:
char1 = ['a','b','c']
char2 = ['1','2']
The possible strings, would be: a1, a2, b1, b2, c1 and c2. How do I make the code with makes all the combinations from an unknown amount of lists with an unknown size?
The problem is that I do not know, how many lists there will be. The amount of lists will be decided by the user, while the code is running.