← 返回题库
中级

范围经济判断

未完成
中级参考 代码结构已给出,请填写 ____ 处
def solve(____):
    total_single = sum(cost_single.values())
    economy = total_single - cost_joint
    has_scope_economy = economy > ____
    return {"____": cost_single, "____": total_single, "____": cost_joint, "____": economy, "____": has_scope_economy}

示例

输入
solve({"产品A": 100, "产品B": 150}, 200)
期望输出
{'单独生产成本': {'产品A': 100, '产品B': 150}, '单独生产总成本': 250, '联合生产成本': 200, '范围经济收益': 50, '存在范围经济': True}
Python 代码 🔒 登录后使用
🔒

登录后即可练习

注册免费账号,在浏览器中直接运行 Python 代码