stefanuddenberg
4/18/2020 - 11:44 PM

Itertools -- Get combinations of two lists (product)

from itertools import product
a = [1, 2, 3]
b = ["a", "b"]
print list(product(a, b))