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