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