itertools.combinations: A better way to iterate through a pair of values in a Python list December 12, 2020