from typing import List
from typing import Any
from typing import Generator
from typing import Tuple
import itertools


def generate_permutations(
    list1: List[Any], list2: List[Any]
) -> Generator[Tuple, None, None]:
    """retuns list of tuples containing each permutation of the two lists"""
    return (each_permutation for each_permutation in itertools.product(list1, list2))