code: def product_nonsame(list1, list2):
      
      for item1, item2 in itertools.product(list1, list2):
          if item1 != item2:
              yield (item1, item2)
docs: product of list1 and list2 where items are non equal