def mean(dictionary: dict):
    """
    Author: SW
    Returns the mean of each value in the dictionary for each key
    :param dictionary: dict: an input dictionary of iterables
    :return: dict: dictionary with the mean of all values
    """
    for key, value in dictionary.items():
        dictionary[key] = sum(value) / len(value)
    return dictionary