R = {i: Vector([SomeCoordinates]) for i in range(1, n + 1)}
d = {(i, k): (R[i] - R[k]).mod for i, k in itertools.combinations(list(range(1, 
    n + 1)), 2)}
How can I prevent adding the same value (With another key) into a dictionary?