TypeError Traceback (most recent call last)
Cell In[1], line 26
10 insurance_costs = {
11 “养老保险”: {
12 “单位”: base_salary * insurance_rates[“养老保险”][“单位”],
(…)
22 }
23 }
25 # 总计个人缴费
—> 26 total_personal_costs = sum(insurance_costs[“养老保险”][“个人”], insurance_costs[“医疗保险”][“个人”], insurance_costs[“失业保险”][“个人”])
28 insurance_costs, total_personal_costs
TypeError: sum() takes at most 2 arguments (3 given)