Generate all combinations taking one element from each list in Python


This is a companion discussion topic for the original entry at http://iq.opengenus.org/combination-one-element-list-python/