SyntaxFix
Write A Post
Hire A Developer
Questions
listOLists = [[1,2,3],[4,5,6],[7,8,9,10]] for list in itertools.product(*listOLists): print list;
I hope you find that as elegant as I did when I first encountered it.