← 返回题库
中级

短期生产决策

未完成
中级参考 代码结构已给出,请填写 ____ 处
def solve(____):
    tr = price * output
    tc = variable_cost + fixed_cost
        profit = tr - tc
    avc = variable_cost / output
    if price >= avc:
        decision = "____"
    else:
        decision = "____"
        profit = -fixed_cost
    return {"____": price, "____": round(____), "____": profit, "____": decision}

示例

输入
solve(10, 800, 200, 100)
期望输出
{'价格': 10, '平均可变成本': 8.0, '利润': 0, '决策': '继续生产'}
Python 代码 🔒 登录后使用
🔒

登录后即可练习

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