The following python code gives me the different combinations from the given values.
import itertools
iterables = [ [1,2,3,4], [88,99], ['a','b'] ]
for t in itertools.product(*iterables):
print t
Output:-
(1, 88, 'a')
(1, 88, 'b')
(1, 99, 'a')
(1, 99, 'b')
(2, 88, 'a')
and so on.
Can some one please tell me how to modify this code so the output looks like a list;
188a
188b
199a
199b
288a