TypeError Traceback (most recent call last)
Cell In[1], line 14
11 base_salary = 21800
13 # 计算个人需缴纳的社保费用
—> 14 personal_payment = sum(rate * base_salary for rate, rate_value in social_insurance_rates.items() if rate_value > 0)
15 personal_payment
TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’