TypeError Traceback (most recent call last)
Cell In[1], line 38
14 monthly_payment = {
15 “养老保险”: {
16 “单位”: base_salary * proportion[“养老保险”][“单位”],
(…)
34 }
35 }
37 # 计算总缴费金额
—> 38 total_payment = sum(monthly_payment.values())
40 monthly_payment, total_payment
TypeError: unsupported operand type(s) for +: ‘int’ and ‘dict’