how to get a combinations of 10 2-2 combinations from a list code example
Example: get all combinations from two lists python
a = ["foo", "melon"]
b = [True, False]
c = list(itertools.product(a, b))
>> [("foo", True), ("foo", False), ("melon", True), ("melon", False)]