def invert(dct):
    """ Transposes the keys and values in a dictionary

    :param dct: dictionary to transpose
    :tupe dct: dict
    :rtype: dict
    """
    return {val: key for key, val in dct.items()}