中级
开放经济-国际收支
未完成
中级参考
代码结构已给出,请填写 ____ 处
def solve(____):
current_account = balance_of_payments.get(____)
capital_account = balance_of_payments.get(____)
financial_account = balance_of_payments.get(____)
total = current_account + capital_account + financial_account
if total > ____:
status = "____"
elif total < ____:
status = "____"
else:
status = "____"
return {"____": current_account, "____": capital_account, "____": financial_account, "____": total, "____": status}
示例
输入
solve({"经常账户": 100, "资本账户": 50, "金融账户": -80})
期望输出
{'经常账户': 100, '资本账户': 50, '金融账户': -80, '国际收支': 70, '状态': '顺差'}
👑
升级 VIP
解锁全部题目,畅通无阻地学习
- ✓ 解锁全部训练包所有题目
- ✓ 查看完整参考代码和提示
- ✓ 浏览器内直接运行 Python 代码
- ✓ 自动批改 + 进度追踪
30天
¥18
1年
¥99
2年
¥158
3年
¥199