← 返回题库
中级

需求收入弹性

未完成
中级参考 代码结构已给出,请填写 ____ 处
def solve(____):
    elasticity = quantity_change / income_change
    if elasticity > ____:
        good_type = "____"
    elif elasticity > ____:
        good_type = "____"
    else:
        good_type = "____"
    return {"____": income_change, "____": quantity_change, "____": elasticity, "____": good_type}

示例

输入
solve(0.1, 0.15)
期望输出
{'收入变化率': 0.1, '需求量变化率': 0.15, '收入弹性': 1.5, '商品类型': '奢侈品'}
Python 代码 🔒 登录后使用
🔒

登录后即可练习

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