@mainakjas itertools.product expects an iterable as input