def vol_prism(area_of_base: float, height: float) -> float:
    if height < 0 or area_of_base < 0:
        raise ValueError("vol_prism() only accepts non-negative values")
    return float(area_of_base * height)