I am trying to write a game that uses grids, and I need a way to make sets by combining two other sets.
For example, if I had [a, b, c] and [1, 2, 3], are there are any functions in Python 3 that will give me [a1, a2, a3, b1, b2, b3, c1, c2, c3]?
Use itertools.product: