TypeError Traceback (most recent call last)
Cell In[1], line 15
12 base_salary = 19100
14 # 计算个人总缴纳金额
—> 15 personal_contribution = sum([base_salary * rate for rate, name in social_security_rates.items() if name != “工伤保险” and name != “生育保险”])
17 personal_contribution
TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’