def harmony(*args):
    """
    Takes an arbitrary number of floats and prints their harmonic
    medium value. Calculation is done with formula:
      number_of_args \ (1 \ item1 + 1 \ item2 + ...)

    Args:
          *args (tuple): number of arguments with a type: float, integer

    Returns:
        float: harmonic medium value
    """
    result = 0
    if 0 in args:
        return 0.0

    for item in args:
        result += 1 / item

    return len(args) / result