← 返回题库
中级

配股价格计算

未完成
中级参考 代码结构已给出,请填写 ____ 处
def solve(____):
    new_shares = shares_outstanding * rights_per_share
    total_value = current_price * shares_outstanding + funds_needed
    ex_rights_price = total_value / (____)
    rights_price = funds_needed / new_shares
    return {"____": round(____), "____": round(____)}

示例

输入
solve(20, 100000, 0.5, 500000)
期望输出
{'理论除权价': 16.67, '配股价格': 10.0}
Python 代码 🔒 登录后使用
🔒

登录后即可练习

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