def average(dictionarry: dict) -> float:
    """Returns the average of the values of
    the dictionary

    Args:
        d (dict): A dictionary with str as
        key and int/float as value

    Returns:
        float: average of the values of
        the dictionary
    """
    dict_len: int = len(dictionarry)
    if dict_len == 0:
        return 0
    sum_: int = 0
    for value in dictionarry.values():
        sum_ += value
    return round(sum_/dict_len, 2)