from typing import Dict
from typing import Any
from typing import Union
from typing import List


def transpose(dct: Dict[Any, Any]):
    """Transpose `dct`.

    Args:
        dct: Python `dict()` object.

    Returns:
        `dict()` object.

    Example:
        >>> urls = {
            'google.com': 200,
            'something.net': 200,
            'notfoundweb.com': 404,
        }
        >>> transpose_dict(dct=urls)
        >>> {
            200: ['google.com', 'something.net'],
            404: ['notfoundweb.com'],
            }
    """
    grouped: Dict[Union[str, int], List[Any]] = {}
    for key, transposable in dct.items():
        grouped.setdefault(transposable, []).append(key)
    return grouped