input: Write a python function to find all distinct pairs of factors of a given product.
  assert distinct_pair(12) == {(1, 12), (2, 6), (3, 4)}
  assert distinct_pair(18) == {(1, 18), (2, 9), (3, 6)}
  assert distinct_pair(25) == {(1, 25), (5, 5)}
output: def distinct_pair(product):
      pairs = set()
      for i in range(1, int(product**0.5) + 1):
          if product % i == 0:
              pairs.add((i, product // i))
      return pairs