import itertools


def pairs(list1,list2):
    """
    :param list1: list of elements
    :param list2: list of elements

    :return: pairs of elements with no repetition
    """
    temp = list(itertools.product(list1, list2))

    # output list initialization
    out = []

    # iteration
    for elem in temp:
        if elem[0] != elem[1]:
            out.append(elem)

    return out